From e39c25293d4c2e0d56bdbc856186c929de69d566 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 2 Jun 2021 01:27:41 +0200 Subject: Improve output when a test fails. --- test/verify_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 dir, vector 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]); } } -- cgit v1.2.3