mirror of
https://github.com/boostorg/detail.git
synced 2025-07-30 20:37:14 +02:00
Updated test_utf8_codecvt to show data differences on test failures.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user