2 Apr
2013
2 Apr
'13
7:56 a.m.
André Hentschel <nerv(a)dawncrow.de> writes:
@@ -84,18 +84,14 @@ static void test_IsThemed(void) SetLastError(0xdeadbeef); bThemeActive = pIsThemeActive(); trace("Theming is %s\n", (bThemeActive) ? "active" : "inactive"); + ok( GetLastError() == ERROR_SUCCESS || + broken(GetLastError() == ERROR_FILE_NOT_FOUND /* Win2k8 */), + "Expected ERROR_SUCCESS, got 0x%08x\n", + GetLastError());
Testing last error when there's no failure is not useful. -- Alexandre Julliard julliard(a)winehq.org