shlwapi/tests: Fix GLE for SHFormatDateTimeA.
This commit is contained in:
parent
fb88e06e79
commit
f42ede788e
|
@ -1589,7 +1589,8 @@ if (0)
|
|||
SetLastError(0xdeadbeef);
|
||||
ret = pSHFormatDateTimeA(&filetime, NULL, NULL, 0);
|
||||
ok(ret == 0, "got %d\n", ret);
|
||||
ok(GetLastError() == 0xdeadbeef, "expected 0xdeadbeef, got %d\n", GetLastError());
|
||||
ok(GetLastError() == 0xdeadbeef || broken(GetLastError() == ERROR_SUCCESS /* Win7 */),
|
||||
"expected 0xdeadbeef, got %d\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
buff[0] = 'a'; buff[1] = 0;
|
||||
|
|
Loading…
Reference in New Issue