advapi32/tests: Correct the test failure message.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Feb 10 18:10:42 CST 2014
---
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;
}
--
1.8.5.3
More information about the wine-patches
mailing list