]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/iostreams.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / tests / streams / iostreams.cpp
index 92a640e7907a9120b35a8289df7c2f9f7cbe65f6..07fdb16506dbbf0537ceffac1275eace51418d40 100644 (file)
@@ -58,7 +58,7 @@ private:
     void DoTest(Stream& s)
     {
         s.PutC('x');
-        WX_ASSERT_SIZET_EQUAL( 1, s.LastWrite() );
+        CPPUNIT_ASSERT_EQUAL( 1, s.LastWrite() );
 
         s.SeekI(0);
         CPPUNIT_ASSERT_EQUAL( int('x'), s.GetC() );
@@ -72,7 +72,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( IOStreamsTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( IOStreamsTestCase, "IOStreamsTestCase" );
 
 #endif // wxUSE_STREAMS