Module: wine Branch: master Commit: bfe67814f9486d45816d8b06bca94880164d9c7c URL: http://source.winehq.org/git/wine.git/?a=commit;h=bfe67814f9486d45816d8b06bc...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Fri Oct 9 21:44:58 2009 +0200
comctl32/tests: Fix some test failures on older comctl32 versions.
---
dlls/comctl32/tests/datetime.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/datetime.c b/dlls/comctl32/tests/datetime.c index 7cd08a0..1de433c 100644 --- a/dlls/comctl32/tests/datetime.c +++ b/dlls/comctl32/tests/datetime.c @@ -678,7 +678,9 @@ static void test_wm_set_get_text(void) hWnd = create_datetime_control(0);
ret = SendMessage(hWnd, WM_SETTEXT, 0, (LPARAM)a_str); - expect(CB_ERR, ret); + ok(CB_ERR == ret || + broken(1 == ret), /* comctl32 <= 4.72 */ + "Expected CB_ERR, got %ld\n", ret);
buff[0] = 0; ret = SendMessage(hWnd, WM_GETTEXT, sizeof(buff), (LPARAM)buff);