[PATCH] msi/tests: Fix a typo

Detlef Riekenberg wine.dev at web.de
Fri Feb 11 10:34:50 CST 2011


with greetings from copy and paste

--
By by ... Detlef
---
 dlls/msi/tests/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index f86e3d1..0830cf0 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -11956,7 +11956,7 @@ static void test_sourcedir(void)
     size = MAX_PATH;
     lstrcpyA(path, "kiwi");
     r = MsiGetSourcePath(hpkg, "SOURCEDIR", path, &size);
-    ok(r == ERROR_DIRECTORY, "Expected ERROR_SUCCESS, got %d\n", r);
+    ok(r == ERROR_DIRECTORY, "Expected ERROR_DIRECTORY, got %d\n", r);
     ok(!lstrcmpA(path, "kiwi"), "Expected \"kiwi\", got \"%s\"\n", path);
     ok(size == MAX_PATH, "Expected %d, got %d\n", MAX_PATH, size);
 
-- 
1.7.1




More information about the wine-patches mailing list