Module: wine Branch: master Commit: 31137aa19753e7e154ac8bb7150173e9fbec2161 URL: http://source.winehq.org/git/wine.git/?a=commit;h=31137aa19753e7e154ac8bb715...
Author: Francois Gouget fgouget@free.fr Date: Tue Feb 26 15:16:23 2008 +0100
opengl32/tests: Add the trailing '\n' to an ok() call and make a spelling fix.
---
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());