From ec04e5a068b8040d47fa125b8414a49a34f7b1a6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 7 Oct 2020 09:24:50 +0200 Subject: [PATCH 1/1] Fix a REQUIRE that should be REQUIRE_EQUAL. --- test/zipper_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2