Commit 99deb5ca authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

shlwapi/tests: Fix another test on Vista.

parent f88a3c56
......@@ -810,10 +810,8 @@ static void test_PathCanonicalizeA(void)
ok(!res, "Expected failure\n");
ok(GetLastError() == ERROR_INVALID_PARAMETER,
"Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
todo_wine
{
ok(!lstrcmp(dest, "test"), "Expected test, got %s\n", dest);
}
ok(dest[0] == 0 || !lstrcmp(dest, "test"),
"Expected either an empty string (Vista) or test, got %s\n", dest);
/* try an empty source */
lstrcpy(dest, "test");
......
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