X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34de441c111176b8ae5414f8e6b57f2d95f31f3e..4686e0f659a6dae15b003dd1004c7716cf6623c9:/tests/regex/wxregextest.cpp diff --git a/tests/regex/wxregextest.cpp b/tests/regex/wxregextest.cpp index 39d61a1dda..1d9c75acc8 100644 --- a/tests/regex/wxregextest.cpp +++ b/tests/regex/wxregextest.cpp @@ -169,7 +169,7 @@ void RegExReplaceTestCase::runTest() msgstr.Printf(_T("returns '%s' (expected '%s')"), text.c_str(), m_expected.c_str()); CPPUNIT_ASSERT_MESSAGE((const char*)msgstr.mb_str(), text == m_expected); - msgstr << _T("matches ") << nRepl << _T(" times (expected ") << m_count << _T(")"); + msgstr.Printf(_T("matches %d times (expected %d)"), (int)nRepl, (int)m_count); CPPUNIT_ASSERT_MESSAGE((const char*)msgstr.mb_str(), nRepl == m_count); }