Commit 9e75962e authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/monthcal: Fix a nice typo in test message.

parent 6b5c6645
...@@ -383,7 +383,7 @@ static void test_monthcal(void) ...@@ -383,7 +383,7 @@ static void test_monthcal(void)
expect(1200, st[1].wMilliseconds); expect(1200, st[1].wMilliseconds);
ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n"); ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n");
ok(st1[0].wYear != 2000, "Lover limit changed\n"); ok(st1[0].wYear != 2000, "Lower limit changed\n");
/* invalid timestamp should be replaced with today data, except msecs */ /* invalid timestamp should be replaced with today data, except msecs */
expect(today.wHour, st1[1].wHour); expect(today.wHour, st1[1].wHour);
expect(today.wMinute, st1[1].wMinute); expect(today.wMinute, st1[1].wMinute);
...@@ -407,10 +407,10 @@ static void test_monthcal(void) ...@@ -407,10 +407,10 @@ static void test_monthcal(void)
st[1].wMonth = 0; st[1].wMonth = 0;
ok(!SendMessage(hwnd, MCM_SETRANGE, GDTR_MIN | GDTR_MAX, (LPARAM)st), "Should have failed to set limits\n"); ok(!SendMessage(hwnd, MCM_SETRANGE, GDTR_MIN | GDTR_MAX, (LPARAM)st), "Should have failed to set limits\n");
ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n"); ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n");
ok(st1[0].wYear != 2000, "Lover limit changed\n"); ok(st1[0].wYear != 2000, "Lower limit changed\n");
ok(!SendMessage(hwnd, MCM_SETRANGE, GDTR_MAX, (LPARAM)st), "Should have failed to set MAX limit\n"); ok(!SendMessage(hwnd, MCM_SETRANGE, GDTR_MAX, (LPARAM)st), "Should have failed to set MAX limit\n");
ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n"); ok(SendMessage(hwnd, MCM_GETRANGE, 0, (LPARAM)st1) == GDTR_MAX, "No limits should be set\n");
ok(st1[0].wYear != 2000, "Lover limit changed\n"); ok(st1[0].wYear != 2000, "Lower limit changed\n");
GetSystemTime(&st[0]); GetSystemTime(&st[0]);
st[0].wDay = 20; st[0].wDay = 20;
......
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