diff --git a/tests/controls/textentrytest.cpp b/tests/controls/textentrytest.cpp index 1843a4e21d..b4a9092db7 100644 --- a/tests/controls/textentrytest.cpp +++ b/tests/controls/textentrytest.cpp @@ -204,11 +204,7 @@ void TextEntryTestCase::Editable() !IsAutomaticTest() ) #endif // __WGTKK__ { - WX_ASSERT_EQUAL_MESSAGE - ( - ("While testing %s", GetTestWindow()->GetClassInfo()->GetClassName()), - "abcdef", entry->GetValue() - ); + CPPUNIT_ASSERT_EQUAL("abcdef", entry->GetValue()); CPPUNIT_ASSERT_EQUAL(6, updated.GetCount()); updated.Clear();