Dmitry Timoshkov : advapi32/tests: Correct the test failure message.

Alexandre Julliard julliard at winehq.org
Tue Feb 11 13:32:40 CST 2014


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Feb 11 09:10:42 2014 +0900

advapi32/tests: Correct the test failure message.

---

 dlls/advapi32/tests/security.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index 044c3f0..907c73b 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -4988,7 +4988,7 @@ static void test_filemap_security(void)
         }
         else
         {
-            ok(!mapping, "CreateFileMapping(%04x) error %d\n", prot_map[i].prot, GetLastError());
+            ok(!mapping, "CreateFileMapping(%04x) should fail\n", prot_map[i].prot);
             ok(GetLastError() == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
             continue;
         }




More information about the wine-cvs mailing list