Use test_output_impl in test_all_eq_impl

This commit is contained in:
Bjorn Reese
2017-02-12 12:26:58 +01:00
parent c96ad4ccba
commit fb09632580

View File

@@ -218,7 +218,7 @@ void test_all_eq_impl(FormattedOutputFunction& output,
{ {
output << file << "(" << line << "): Container contents differ in function '" << function << "': mismatching indices"; output << file << "(" << line << "): Container contents differ in function '" << function << "': mismatching indices";
} }
output << " [" << std::distance(first_begin, first_it) << "] '" << *first_it << "' != '" << *second_it << "'"; output << " [" << std::distance(first_begin, first_it) << "] '" << test_output_impl(*first_it) << "' != '" << test_output_impl(*second_it) << "'";
++first_it; ++first_it;
++second_it; ++second_it;
++error_count; ++error_count;