mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 16:57:26 +00:00
shell32/tests: Fix a test failure on W2K and earlier.
This commit is contained in:
parent
7a8000d4e8
commit
0a3509255e
@ -757,7 +757,10 @@ static void test_GetAttributesOf(void)
|
||||
if (FAILED(hr)) return;
|
||||
|
||||
hr = IShellFolder_GetAttributesOf(psfMyComputer, 1, &pidlEmpty, &dwFlags);
|
||||
todo_wine {ok (hr == E_INVALIDARG, "MyComputer->GetAttributesOf(emtpy pidl) should fail! hr = %08x\n", hr); }
|
||||
todo_wine
|
||||
ok (hr == E_INVALIDARG ||
|
||||
broken(SUCCEEDED(hr)), /* W2K and earlier */
|
||||
"MyComputer->GetAttributesOf(emtpy pidl) should fail! hr = %08x\n", hr);
|
||||
|
||||
dwFlags = 0xffffffff;
|
||||
hr = IShellFolder_GetAttributesOf(psfMyComputer, 0, NULL, &dwFlags);
|
||||
|
Loading…
Reference in New Issue
Block a user