Commit f42ede78 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

shlwapi/tests: Fix GLE for SHFormatDateTimeA.

parent fb88e06e
...@@ -1589,7 +1589,8 @@ if (0) ...@@ -1589,7 +1589,8 @@ if (0)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = pSHFormatDateTimeA(&filetime, NULL, NULL, 0); ret = pSHFormatDateTimeA(&filetime, NULL, NULL, 0);
ok(ret == 0, "got %d\n", ret); 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); SetLastError(0xdeadbeef);
buff[0] = 'a'; buff[1] = 0; buff[0] = 'a'; buff[1] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment