From 9c010d70b02153ac3d074c7f446ed3ee61e4026e Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 11 Feb 2014 09:10:42 +0900 Subject: [PATCH] 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 044c3f0d800..907c73b0c28 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; }