user32/tests: Allow win8 error code.

This commit is contained in:
André Hentschel 2013-11-13 00:06:50 +01:00 committed by Alexandre Julliard
parent f96fde3831
commit de92a45822

View file

@ -2868,8 +2868,9 @@ static void test_EnumDisplaySettings(void)
if (!EnumDisplaySettingsA(NULL, num, &devmode)) {
DWORD le = GetLastError();
ok(le == ERROR_NO_MORE_FILES ||
le == ERROR_MOD_NOT_FOUND /* Win8 */ ||
le == 0xdeadbeef, /* XP, 2003 */
"Expected ERROR_NO_MORE_FILES or 0xdeadbeef, got %d for %d\n", le, num);
"Expected ERROR_NO_MORE_FILES, ERROR_MOD_NOT_FOUND or 0xdeadbeef, got %d for %d\n", le, num);
break;
}
num++;