Fixed AssertEquals.
This commit is contained in:
parent
7de8abe0c4
commit
66677c0ad1
9 changed files with 30 additions and 35 deletions
|
@ -72,7 +72,7 @@ AssertEquals(int expected, int actual, char *message, ...)
|
|||
SDL_vsnprintf( buf, sizeof(buf), message, args );
|
||||
va_end( args );
|
||||
|
||||
if(expected != expected) {
|
||||
if(expected != actual) {
|
||||
AssertWithValues("AssertEquals", 0, buf, actual, expected, time(0));
|
||||
|
||||
_testReturnValue = TEST_RESULT_FAILURE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue