mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
user32/tests: Allow win8 error code.
This commit is contained in:
parent
f96fde3831
commit
de92a45822
1 changed files with 2 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue