diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-07 09:24:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | ec04e5a068b8040d47fa125b8414a49a34f7b1a6 (patch) | |
| tree | fb8c3aa2c71e1d058c929fe319f7fb44db655a3d | |
| parent | e5277d4042b896c4b50c694fba0f1afb47337f45 (diff) | |
Fix a REQUIRE that should be REQUIRE_EQUAL.
| -rw-r--r-- | test/zipper_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zipper_test.cc b/test/zipper_test.cc index 1820f8d07..10ffd76a4 100644 --- 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"); |
