Commit 31137aa1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

opengl32/tests: Add the trailing '\n' to an ok() call and make a spelling fix.

parent 39844efc
...@@ -384,9 +384,9 @@ START_TEST(opengl) ...@@ -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 */ /* We shouldn't be able to create a context from a hdc which doesn't have a pixel format set */
hglrc = wglCreateContext(hdc); 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(); 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); res = SetPixelFormat(hdc, iPixelFormat, &pfd);
ok(res, "SetPixelformat failed: %x\n", GetLastError()); ok(res, "SetPixelformat failed: %x\n", GetLastError());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment