opengl32/tests: Add the trailing '\n' to an ok() call and make a spelling fix. (try2)
Francois Gouget
fgouget at free.fr
Tue Feb 26 08:16:23 CST 2008
---
This time fixed the spelling error instead of replacing it with another.
dlls/opengl32/tests/opengl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 3836ba7..0200dfd 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -384,9 +384,9 @@ START_TEST(opengl)
/* We shouldn't be able to create a context from a hdc which doesn't have a pixel format set */
hglrc = wglCreateContext(hdc);
- ok(hglrc == NULL, "wglCreateContext should fail when no pixel format has been set, but it passed");
+ ok(hglrc == NULL, "wglCreateContext should fail when no pixel format has been set, but it passed\n");
error = GetLastError();
- ok(error == ERROR_INVALID_PIXEL_FORMAT, "expected ERROR_INVALID_PIXEL_FORMAT for wglCreateContext without a pixelformat set, but recevied %#x", error);
+ ok(error == ERROR_INVALID_PIXEL_FORMAT, "expected ERROR_INVALID_PIXEL_FORMAT for wglCreateContext without a pixelformat set, but received %#x\n", error);
res = SetPixelFormat(hdc, iPixelFormat, &pfd);
ok(res, "SetPixelformat failed: %x\n", GetLastError());
--
1.5.4.1
More information about the wine-patches
mailing list