diff --git a/tests/mbconv/mbconvtest.cpp b/tests/mbconv/mbconvtest.cpp index b413b5bdbd..78e4d05932 100644 --- a/tests/mbconv/mbconvtest.cpp +++ b/tests/mbconv/mbconvtest.cpp @@ -1040,7 +1040,12 @@ void MBConvTestCase::TestDecoder( 0 ); // make sure the correct output length was calculated - CPPUNIT_ASSERT_EQUAL( wideChars, outputWritten ); + WX_ASSERT_EQUAL_MESSAGE + ( + ("while converting \"%s\"", multiBuffer), + wideChars, + outputWritten + ); // convert the string size_t guardChars = 8; // to make sure we're not overrunning the output buffer