projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5277d4
)
Fix a REQUIRE that should be REQUIRE_EQUAL.
author
Carl Hetherington
<cth@carlh.net>
Wed, 7 Oct 2020 07:24:50 +0000
(09:24 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000
(18:51 +0200)
test/zipper_test.cc
patch
|
blob
|
history
diff --git
a/test/zipper_test.cc
b/test/zipper_test.cc
index 1820f8d0781ef5271e7f29545bd70a5e9c7dc1ec..10ffd76a4fc5bbe3d7623e44895a73e02f9a9129 100644
(file)
--- a/
test/zipper_test.cc
+++ b/
test/zipper_test.cc
@@
-43,7
+43,7
@@
BOOST_AUTO_TEST_CASE (zipper_test1)
boost::filesystem::remove_all ("build/test/zipper_test1", ec);
int const r = system ("unzip build/test/zipped.zip -d build/test/zipper_test1");
- BOOST_REQUIRE
(r ==
0);
+ BOOST_REQUIRE
_EQUAL (r,
0);
BOOST_CHECK_EQUAL (dcp::file_to_string("build/test/zipper_test1/foo.txt"), "1234567890");
BOOST_CHECK_EQUAL (dcp::file_to_string("build/test/zipper_test1/bar.txt"), "xxxxxxCCCCbbbbbbb1");