author | Andreas Schiffler <aschiffler@ferzkopp.net> |
Mon, 21 Oct 2013 23:17:37 -0700 | |
changeset 7879 | cee8a400dc51 |
parent 7878 | b331f16f3fe0 |
child 7880 | b8d30d14d535 |
--- a/test/testautomation_pixels.c Mon Oct 21 22:27:07 2013 -0700 +++ b/test/testautomation_pixels.c Mon Oct 21 23:17:37 2013 -0700 @@ -297,7 +297,7 @@ } error = SDL_GetError(); SDLTest_AssertPass("Call to SDL_GetError()"); - SDLTest_AssertCheck(error != NULL && error[0] != '\0', "Validate that error message is empty"); + SDLTest_AssertCheck(error == NULL || error[0] == '\0', "Validate that error message is empty"); } return TEST_COMPLETED;