summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-10 10:13:31 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-22 13:03:04 +0200
commitb74f594ce1dee47fdb5cbeebdc3d6577cdd1cab8 (patch)
tree0f778d72bc5c8bb74dfbacd07ea570b15eaf28d7 /test
parentf762833c3348003df6d0c026582776a6e577cf76 (diff)
Clarify a test result when it fails.mpeg2
Diffstat (limited to 'test')
-rw-r--r--test/kdm_cli_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kdm_cli_test.cc b/test/kdm_cli_test.cc
index 6e54f3a6c..2a508d97c 100644
--- a/test/kdm_cli_test.cc
+++ b/test/kdm_cli_test.cc
@@ -127,7 +127,7 @@ BOOST_AUTO_TEST_CASE(kdm_cli_specify_decryption_key_test)
output.clear();
error = run(bad_args, output, false);
BOOST_REQUIRE(error);
- BOOST_CHECK(error->find("Could not decrypt KDM") != string::npos);
+ BOOST_CHECK_MESSAGE(error->find("Could not decrypt KDM") != string::npos, "Error was " << *error);
vector<string> good_args = {
"kdm_cli",