Dan Kegel : fusion: UninstallAssembly test: Fix typo, avoid undefined value .

Alexandre Julliard julliard at winehq.org
Wed May 28 04:56:52 CDT 2008


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

Author: Dan Kegel <dank at kegel.com>
Date:   Tue May 27 07:38:34 2008 -0700

fusion: UninstallAssembly test: Fix typo, avoid undefined value.

---

 dlls/fusion/tests/asmcache.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/fusion/tests/asmcache.c b/dlls/fusion/tests/asmcache.c
index a160b0a..a8900fd 100644
--- a/dlls/fusion/tests/asmcache.c
+++ b/dlls/fusion/tests/asmcache.c
@@ -918,10 +918,11 @@ static void test_InstallAssembly(void)
     ok(attr != INVALID_FILE_ATTRIBUTES, "Expected assembly to exist\n");
 
     /* uninstall the assembly from the GAC */
+    disp = 0xf00dbad;
     hr = IAssemblyCache_UninstallAssembly(cache, 0, wine, NULL, &disp);
     todo_wine
     {
-        ok(hr == S_OK, "Expected S_OK, got %d\n", S_OK);
+        ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
         ok(disp == IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED,
            "Expected IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED, got %d\n", disp);
     }




More information about the wine-cvs mailing list