Commit 824974ce authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

user32/tests: Fix the expected values in some ok() messages.

parent 4f7ea573
...@@ -177,7 +177,7 @@ static void test_ChangeDisplaySettingsEx(void) ...@@ -177,7 +177,7 @@ static void test_ChangeDisplaySettingsEx(void)
dm.dmDriverExtra = 1; dm.dmDriverExtra = 1;
res = pChangeDisplaySettingsExA(NULL, &dm, NULL, CDS_TEST, NULL); res = pChangeDisplaySettingsExA(NULL, &dm, NULL, CDS_TEST, NULL);
ok(res == DISP_CHANGE_SUCCESSFUL, ok(res == DISP_CHANGE_SUCCESSFUL,
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_BADMODE\n", res); "ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_SUCCESSFUL\n", res);
ok(dm.dmDriverExtra == 1, "ChangeDisplaySettingsExA shouldn't reset dmDriverExtra to 0\n"); ok(dm.dmDriverExtra == 1, "ChangeDisplaySettingsExA shouldn't reset dmDriverExtra to 0\n");
memset(&dmW, 0, sizeof(dmW)); memset(&dmW, 0, sizeof(dmW));
...@@ -201,7 +201,7 @@ static void test_ChangeDisplaySettingsEx(void) ...@@ -201,7 +201,7 @@ static void test_ChangeDisplaySettingsEx(void)
if (GetLastError() != ERROR_CALL_NOT_IMPLEMENTED) if (GetLastError() != ERROR_CALL_NOT_IMPLEMENTED)
{ {
ok(res == DISP_CHANGE_SUCCESSFUL, ok(res == DISP_CHANGE_SUCCESSFUL,
"ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_BADMODE\n", res); "ChangeDisplaySettingsExW returned %d, expected DISP_CHANGE_SUCCESSFUL\n", res);
ok(dmW.dmDriverExtra == 1, "ChangeDisplaySettingsExW shouldn't reset dmDriverExtra to 0\n"); ok(dmW.dmDriverExtra == 1, "ChangeDisplaySettingsExW shouldn't reset dmDriverExtra to 0\n");
} }
......
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