user32/tests/edit: remove win9x hacks
Austin English
austinenglish at gmail.com
Tue Jul 26 21:20:31 CDT 2011
https://testbot.winehq.org/JobDetails.pl?Key=12913
--
-Austin
-------------- next part --------------
diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index d279f0d..7ba964b 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1318,9 +1318,8 @@ static void test_edit_control_limittext(void)
ok(r == 30000, "Incorrect default text limit, expected 30000 got %u\n", r);
SendMessage(hwEdit, EM_SETLIMITTEXT, 0, 0);
r = SendMessage(hwEdit, EM_GETLIMITTEXT, 0, 0);
- /* Win9x+ME: 32766; WinNT: 2147483646UL */
- ok( (r == 32766) || (r == 2147483646UL),
- "got limit %u (expected 32766 or 2147483646)\n", r);
+ /* WinNT: 2147483646UL */
+ ok( r == 2147483646UL, "got limit %u (expected 2147483646)\n", r);
DestroyWindow(hwEdit);
/* Test default limit for multi-line control */
@@ -1330,9 +1329,8 @@ static void test_edit_control_limittext(void)
ok(r == 30000, "Incorrect default text limit, expected 30000 got %u\n", r);
SendMessage(hwEdit, EM_SETLIMITTEXT, 0, 0);
r = SendMessage(hwEdit, EM_GETLIMITTEXT, 0, 0);
- /* Win9x+ME: 65535; WinNT: 4294967295UL */
- ok( (r == 65535) || (r == 4294967295UL),
- "got limit %u (expected 65535 or 4294967295)\n", r);
+ /* WinNT: 4294967295UL */
+ ok( r == 4294967295UL, "got limit %u (expected 4294967295)\n", r);
DestroyWindow(hwEdit);
}
More information about the wine-patches
mailing list