summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-02 01:27:41 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-02 01:44:34 +0200
commite39c25293d4c2e0d56bdbc856186c929de69d566 (patch)
treef60a4ce66d4690d386820abdde32b901ea56be59
parentea2c5d699733b99347448875f5601b6b714f03c2 (diff)
Improve output when a test fails.
-rw-r--r--test/verify_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc
index dd95ef6e..a77a20aa 100644
--- a/test/verify_test.cc
+++ b/test/verify_test.cc
@@ -243,7 +243,7 @@ check_verify_result (vector<path> dir, vector<dcp::VerificationNote> test_notes)
std::sort (notes.begin(), notes.end());
std::sort (test_notes.begin(), test_notes.end());
for (auto i = 0U; i < notes.size(); ++i) {
- BOOST_REQUIRE_EQUAL (notes[i], test_notes[i]);
+ BOOST_REQUIRE_MESSAGE (notes[i] == test_notes[i], "Note from verify:\n" << notes[i] << "\ndoes not match the expected:\n" << test_notes[i]);
}
}