msvcirt/tests: Fix comparison with EOL.

This commit is contained in:
Alexandre Julliard 2015-07-06 20:08:00 +09:00
parent c023558b39
commit 853d0f34ff
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ static void test_streambuf(void)
ret = (int) call_func2(p_streambuf_pbackfail, &sb, EOF); ret = (int) call_func2(p_streambuf_pbackfail, &sb, EOF);
ok(ret == EOF, "expected EOF got '%c'\n", ret); ok(ret == EOF, "expected EOF got '%c'\n", ret);
ok(sb.gptr == sb.eback + 1, "wrong get pointer, expected %p got %p\n", sb.eback + 1, sb.gptr); ok(sb.gptr == sb.eback + 1, "wrong get pointer, expected %p got %p\n", sb.eback + 1, sb.gptr);
ok(*sb.gptr == EOF, "expected EOF in the get area, got %c\n", *sb.gptr); ok((signed char)*sb.gptr == EOF, "expected EOF in the get area, got %c\n", *sb.gptr);
sb.gptr = sb.eback; sb.gptr = sb.eback;
ret = (int) call_func2(p_streambuf_pbackfail, &sb, 'Z'); ret = (int) call_func2(p_streambuf_pbackfail, &sb, 'Z');
ok(ret == EOF, "expected EOF got '%c'\n", ret); ok(ret == EOF, "expected EOF got '%c'\n", ret);