test/testautomation_pixels.c
changeset 7879 cee8a400dc51
parent 7721 bdf8c2c84e14
child 9046 c3ec7c3e6c24
     1.1 --- a/test/testautomation_pixels.c	Mon Oct 21 22:27:07 2013 -0700
     1.2 +++ b/test/testautomation_pixels.c	Mon Oct 21 23:17:37 2013 -0700
     1.3 @@ -297,7 +297,7 @@
     1.4      }
     1.5      error = SDL_GetError();
     1.6      SDLTest_AssertPass("Call to SDL_GetError()");
     1.7 -    SDLTest_AssertCheck(error != NULL && error[0] != '\0', "Validate that error message is empty");
     1.8 +    SDLTest_AssertCheck(error == NULL || error[0] == '\0', "Validate that error message is empty");
     1.9    }
    1.10  
    1.11    return TEST_COMPLETED;