]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/scopeguard/scopeguardtest.cpp
Fix tests compilation without wxUSE_REGEX.
[wxWidgets.git] / tests / scopeguard / scopeguardtest.cpp
index 83a73684dc75079a7f8ec06a4ac963893f3151ea..8235e4040690bc45d3129bd7814b01b6a2927323 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vadim Zeitlin
 // RCS-ID:      $Id$
 // Copyright:   (c) 2005 Vadim Zeitlin
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -233,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;
     {