shell32/tests: Use a different name for the return value.
authorPaul Vriens <Paul.Vriens.Wine@gmail.com>
Tue, 6 Jan 2009 16:20:12 +0000 (17:20 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 7 Jan 2009 11:21:06 +0000 (12:21 +0100)
dlls/shell32/tests/shlfileop.c

index 7705292744ed8dd2846bd0477b143ec70dbc780a..d051bc97b4141639cc5afdb597c5660c411fb48b 100644 (file)
@@ -1107,8 +1107,8 @@ static void test_copy(void)
     shfo.fAnyOperationsAborted = FALSE;
     shfo.fFlags = FOF_NOERRORUI | FOF_MULTIDESTFILES;
     retval = SHFileOperation(&shfo);
-    ok(retval == ERROR_NO_MORE_SEARCH_HANDLES,
-       "Expected ERROR_NO_MORE_SEARCH_HANDLES, got %d\n", retval);
+    ok(retval == DE_SAMEFILE,
+       "Expected DE_SAMEFILE, got %d\n", retval);
     ok(!shfo.fAnyOperationsAborted, "Expected no operations to be aborted\n");
     ok(DeleteFile("b.txt"), "Expected b.txt to exist\n");
     ok(!file_exists("c.txt"), "Expected c.txt to not exist\n");