shlwapi/tests: Fix another test on Vista.

This commit is contained in:
Paul Vriens 2008-06-24 19:09:57 +02:00 committed by Alexandre Julliard
parent f88a3c569e
commit 99deb5ca2c
1 changed files with 2 additions and 4 deletions

View File

@ -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");