Updated test_utf8_codecvt to show data differences on test failures.

This commit is contained in:
Andrey Semashev
2021-09-12 20:57:37 +03:00
parent b9f29ff43a
commit 3986d6b7e6

View File

@ -192,7 +192,7 @@ test_main(int /* argc */, char * /* argv */[]) {
std::vector<utf8_t> data2;
std::copy(it2, end_iter, std::back_inserter(data2));
BOOST_TEST(data1 == data2);
BOOST_TEST_ALL_EQ(data1.begin(), data1.end(), data2.begin(), data2.end());
}
// some libraries have trouble that only shows up with longer strings
@ -299,4 +299,3 @@ main(int argc, char * argv[]){
retval = error_count;
return retval;
}