X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2a48d5cbc5b3764c6b578238ec6cc5f16c5dd0f..f6b4a1b98d5a22a88a5a9a28076079116a2f892e:/tests/scopeguard/scopeguardtest.cpp diff --git a/tests/scopeguard/scopeguardtest.cpp b/tests/scopeguard/scopeguardtest.cpp index 24c19fd981..7b74824c37 100644 --- a/tests/scopeguard/scopeguardtest.cpp +++ b/tests/scopeguard/scopeguardtest.cpp @@ -21,6 +21,7 @@ #pragma hdrstop #endif +#include "wx/string.h" #include "wx/scopeguard.h" // ---------------------------------------------------------------------------- @@ -232,9 +233,9 @@ void ScopeGuardTestCase::BlockExitSetVar() { wxON_BLOCK_EXIT_SET(s, "bye"); - WX_ASSERT_STR_EQUAL( "hi", s ); + CPPUNIT_ASSERT_EQUAL( "hi", s ); } - WX_ASSERT_STR_EQUAL( "bye", s ); + CPPUNIT_ASSERT_EQUAL( "bye", s ); ScopeGuardTestCase *p = this; {