Paul Vriens : shell32/tests: Use a different name for the return value.

Alexandre Julliard julliard at winehq.org
Wed Jan 7 10:57:02 CST 2009


Module: wine
Branch: master
Commit: ee889ba44cd3edaf224a32a928364b77bc0a2123
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ee889ba44cd3edaf224a32a928364b77bc0a2123

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Tue Jan  6 17:20:12 2009 +0100

shell32/tests: Use a different name for the return value.

---

 dlls/shell32/tests/shlfileop.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 7705292..d051bc9 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -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");




More information about the wine-cvs mailing list