msvcrt/tests: Use the C standard for multiline strings.
This commit is contained in:
parent
ac85a76b2d
commit
a4c2a0ee20
|
@ -320,15 +320,15 @@ static void test_asciimode2(void)
|
|||
char ibuf[4];
|
||||
int i;
|
||||
static const char obuf[] =
|
||||
"00\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000000000000000000000000000000000000000000000000000000000000000\n\
|
||||
000000000000000000\n\
|
||||
1111111111111111111";
|
||||
"00\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000000000000000000000000000000000000000000000000000000000000000\n"
|
||||
"000000000000000000\n"
|
||||
"1111111111111111111";
|
||||
|
||||
fp = fopen("ascii2.tst", "wt");
|
||||
fwrite(obuf, 1, sizeof(obuf), fp);
|
||||
|
|
Loading…
Reference in New Issue