<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2019, 5:15 AM Chip Davis <<a href="mailto:cdavis@codeweavers.com">cdavis@codeweavers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u><div><div style="font-family:arial,sans-serif;font-size:13px"> <br><br>August 18, 2019 5:51 PM, "Isira Seneviratne" <<a href="mailto:%22Isira%20Seneviratne%22%20%3Cisirasen96@gmail.com%3E" target="_blank" rel="noreferrer">isirasen96@gmail.com</a>> wrote:<br> <blockquote><div><div><div dir="auto"> <div> <div> <div dir="ltr">On Mon, Aug 19, 2019, 1:42 AM Alex Henrie <<a rel="external nofollow noopener noreferrer noreferrer" href="mailto:alexhenrie24@gmail.com" target="_blank">alexhenrie24@gmail.com</a>> wrote:</div> <blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+ * Copyright (C) 2019 Isira Seneviratne<br><br>- static const char expected[12] = "Hello World!";<br>+ static const char expected[12] = {<br>'H','e','l','l','o','W','o','r','l','d','!','\0' };<br><br>All you had to do was remove the number 12 and let the compiler<br>determine the size of the array automatically. And you really<br>shouldn't add your name at the top of the file unless you wrote a<br>substantial chunk of the file.<br><br>-Alex</blockquote> </div> </div> <div dir="auto"></div> <div dir="auto">Okay, thanks.</div> <div dir="auto"></div> <div dir="auto">By the way, why would the tests fail?</div> </div></div></div></blockquote>Because you left out the space character in the string.<br><br><u></u>Chip</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Thanks a lot!</div><div dir="auto"><br></div><div dir="auto">Isira</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,sans-serif;font-size:13px"><u></u> </div></div>
</blockquote></div></div></div>