From 30e5ff87a46af0ef5615654fbccbdfeffbcbbb7a Mon Sep 17 00:00:00 2001 From: ali kettab Date: Sat, 25 Jul 2020 18:09:55 +0100 Subject: [PATCH] the assertion was mistakenly placed in the wrong place --- tests/controls/comboboxtest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/controls/comboboxtest.cpp b/tests/controls/comboboxtest.cpp index 5f344060c1..d6fe21854c 100644 --- a/tests/controls/comboboxtest.cpp +++ b/tests/controls/comboboxtest.cpp @@ -150,8 +150,9 @@ void ComboBoxTestCase::PopDismiss() // Under wxGTK2, the event is sent only during idle time and not // immediately, so we need this yield to get it. wxYield(); - CPPUNIT_ASSERT_EQUAL(1, close.GetCount()); #endif // wxGTK2 + + CPPUNIT_ASSERT_EQUAL(1, close.GetCount()); #endif }