Author: spetreolle
Date: Wed Nov 6 19:04:07 2013
New Revision: 60875
URL:
http://svn.reactos.org/svn/reactos?rev=60875&view=rev
Log:
[ROSTESTS]
Display ok_err() errors as hexadecimal instead of signed.
Modified:
trunk/reactos/include/reactos/wine/test.h
Modified: trunk/reactos/include/reactos/wine/test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/test.…
==============================================================================
--- trunk/reactos/include/reactos/wine/test.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/test.h [iso-8859-1] Wed Nov 6 19:04:07 2013
@@ -687,7 +687,7 @@
#define ok_char(expression, result) ok_hex(expression, result)
#define ok_err(error) \
- ok(GetLastError() == (error), "Wrong last error. Expected " #error ",
got %d\n", (int)GetLastError())
+ ok(GetLastError() == (error), "Wrong last error. Expected " #error ",
got 0x%lx\n", GetLastError())
#define ok_str(x, y) \
ok(strcmp(x, y) == 0, "Wrong string. Expected '%s', got
'%s'\n", y, x)