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

user32/tests: Allow win8 error code.

parent f96fde38
......@@ -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++;
......
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