Fix a REQUIRE that should be REQUIRE_EQUAL.
authorCarl Hetherington <cth@carlh.net>
Wed, 7 Oct 2020 07:24:50 +0000 (09:24 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 13 Oct 2020 16:51:11 +0000 (18:51 +0200)
test/zipper_test.cc

index 1820f8d0781ef5271e7f29545bd70a5e9c7dc1ec..10ffd76a4fc5bbe3d7623e44895a73e02f9a9129 100644 (file)
@@ -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");