Commit 9c010d70 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

advapi32/tests: Correct the test failure message.

parent 5e52a29b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment