From: Carl Hetherington Date: Wed, 7 Oct 2020 07:24:50 +0000 (+0200) Subject: Fix a REQUIRE that should be REQUIRE_EQUAL. X-Git-Tag: v2.15.104~30 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ec04e5a068b8040d47fa125b8414a49a34f7b1a6 Fix a REQUIRE that should be REQUIRE_EQUAL. --- 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");