]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
failed conversion shouldn't trigger an assert
[wxWidgets.git] / tests / strings / strings.cpp
index ffeeac6d92d8ee98d7ad4b845bfa82a84f4263c9..87956929e2c65f5383ef37eedb5b0e2440cc434a 100644 (file)
@@ -947,5 +947,5 @@ void StringTestCase::ScopedBuffers()
 
     wxCharBuffer buf2 = sbuf;
     CPPUNIT_ASSERT( buf2.data() != literal );
-    CPPUNIT_ASSERT_EQUAL( literal, buf2.data() );
+    CPPUNIT_ASSERT_EQUAL( literal, buf.data() );
 }