summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-01 08:21:33 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-01 08:22:08 +0100
commit3ddc31b37c492b4a6bd0ad2bf3b5dba6a8f41850 (patch)
tree1fcf89a4a8937e2f72e1a9ae5a15666f5a26421c
parentad45191cc3cb78900d0a434c9a838c2e171cc706 (diff)
More detailed test logger.
-rw-r--r--test/required_disk_space_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/required_disk_space_test.cc b/test/required_disk_space_test.cc
index a66b6645e..7f907cfc3 100644
--- a/test/required_disk_space_test.cc
+++ b/test/required_disk_space_test.cc
@@ -34,7 +34,7 @@ using boost::dynamic_pointer_cast;
void check_within_n (int64_t a, int64_t b, int64_t n)
{
- BOOST_CHECK (abs (a - b) <= n);
+ BOOST_CHECK_MESSAGE (abs(a - b) <= n, "Estimated " << a << " differs from reference " << b << " by more than " << n);
}