X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dea816bd23cb4650c8885b8559dffd59d5f1bd4..c29c95fe24973b94fd724db767193171ca7c513d:/tests/streams/textstreamtest.cpp?ds=sidebyside diff --git a/tests/streams/textstreamtest.cpp b/tests/streams/textstreamtest.cpp index a2b2ecc878..1d1ec0375b 100644 --- a/tests/streams/textstreamtest.cpp +++ b/tests/streams/textstreamtest.cpp @@ -86,7 +86,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( TextStreamTestCase ); -// 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( TextStreamTestCase, "TextStreamTestCase" ); TextStreamTestCase::TextStreamTestCase() @@ -129,7 +129,7 @@ void TextStreamTestCase::MiscTests() { wxString filename = wxT("testdata.fc"); wxFileInputStream fsIn(filename); - if ( !fsIn.Ok() ) + if ( !fsIn.IsOk() ) { return; }