X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f27d62bf2f27f3b0b6e5cd608c8308c8bd81a93c..4dd8339b2a1a269284096e6bbaa9b6646774650e:/tests/sizers/boxsizer.cpp diff --git a/tests/sizers/boxsizer.cpp b/tests/sizers/boxsizer.cpp index ca203d2379..0266af8b3e 100644 --- a/tests/sizers/boxsizer.cpp +++ b/tests/sizers/boxsizer.cpp @@ -22,10 +22,7 @@ #include "wx/sizer.h" #endif // WX_PRECOMP -inline std::ostream& operator<<(std::ostream& o, const wxSize& s) -{ - return o << s.x << 'x' << s.y; -} +#include "asserthelper.h" // ---------------------------------------------------------------------------- // test class @@ -59,7 +56,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( BoxSizerTestCase ); -// 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( BoxSizerTestCase, "BoxSizerTestCase" ); // ---------------------------------------------------------------------------- @@ -233,7 +230,7 @@ void BoxSizerTestCase::Size3() WX_ASSERT_EQUAL_MESSAGE ( ( - "test %lu, permutation #%d: wrong size for child #%d " + "test %lu, permutation #%lu: wrong size for child #%d " "for total size %d", static_cast(i), static_cast(p),