the assertion was mistakenly placed in the wrong place

This commit is contained in:
ali kettab
2020-07-25 18:09:55 +01:00
parent b1c83920b5
commit 30e5ff87a4

View File

@@ -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
}