mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[ROSTESTS]
Display ok_err() errors as hexadecimal instead of signed. svn path=/trunk/; revision=60875
This commit is contained in:
parent
c837bd2141
commit
72a70a3bb8
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ int main( int argc, char **argv )
|
|||
#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)
|
||||
|
|
Loading…
Reference in a new issue