From 99deb5ca2c8e2d272a66c03b34d7c9cc1f8dbb6a Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 24 Jun 2008 19:09:57 +0200 Subject: [PATCH] shlwapi/tests: Fix another test on Vista. --- dlls/shlwapi/tests/path.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/shlwapi/tests/path.c b/dlls/shlwapi/tests/path.c index 6f55395d4c6..e6b6548247d 100644 --- a/dlls/shlwapi/tests/path.c +++ b/dlls/shlwapi/tests/path.c @@ -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");