projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f762833
)
Clarify a test result when it fails.
mpeg2
author
Carl Hetherington
<cth@carlh.net>
Wed, 10 Apr 2024 08:13:31 +0000
(10:13 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 22 Apr 2024 11:03:04 +0000
(13:03 +0200)
test/kdm_cli_test.cc
patch
|
blob
|
history
diff --git
a/test/kdm_cli_test.cc
b/test/kdm_cli_test.cc
index 6e54f3a6c2f21a207374c069fe75ac561a42c24f..2a508d97c2461a2b6cda713e47a4f3f921122c69 100644
(file)
--- 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",