From c8d018dd6415bd4f5c32eb904e90838bbcdbc8e5 Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Tue, 2 Sep 2025 19:24:40 -0400 Subject: [PATCH] Upgrade tests to Catch2 --- tests/log/logtest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/log/logtest.cpp b/tests/log/logtest.cpp index bd99b3eee2..44c8f44d5f 100644 --- a/tests/log/logtest.cpp +++ b/tests/log/logtest.cpp @@ -69,8 +69,7 @@ TEST_CASE_METHOD(LogTestCase, "wxLogNull()", "[log]") TEST_CASE_METHOD(LogTestCase, "wxLog::Component", "[log]") { wxLogMessage("Message"); - CPPUNIT_ASSERT_EQUAL( std::string(wxLOG_COMPONENT), - m_log->GetInfo(wxLOG_Message).component ); + CHECK( m_log->GetInfo(wxLOG_Message).component == std::string(wxLOG_COMPONENT) ); // completely disable logging for this component wxLog::SetComponentLevel("test/ignore", wxLOG_FatalError);