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

Paul Vriens paul.vriens.wine at gmail.com
Tue Feb 26 05:11:58 CST 2008


Francois Gouget wrote:
> ---
>  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..344e2c6 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 recieved %#x\n", error);

So where is the spelling fix ;-) Shouldn't that be "received"?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list