shell32/tests: Fix error code on win2k.

This commit is contained in:
Nikolay Sivov 2015-06-06 13:12:12 +03:00 committed by Alexandre Julliard
parent b5c2c0b05a
commit 1de3aec336
1 changed files with 2 additions and 1 deletions

View File

@ -719,7 +719,8 @@ static void test_ParseName(void)
str = SysAllocString(cadabraW);
item = (void*)0xdeadbeef;
hr = Folder_ParseName(folder, str, &item);
ok(hr == S_FALSE || broken(hr == E_INVALIDARG) /* win2k */, "got 0x%08x\n", hr);
ok(hr == S_FALSE || broken(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) /* win2k */,
"got 0x%08x\n", hr);
ok(item == NULL, "got %p\n", item);
SysFreeString(str);