diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-10 01:05:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-10 21:00:06 +0200 |
| commit | 8b28cc4a101cb31ca3067a26e9e1d0e220724c59 (patch) | |
| tree | 398e1bd634607edd88969b167145e844b6275f50 /test/kdm_cli_test.cc | |
| parent | 61fb89205e631cdb49161bbc4b321d5a93868120 (diff) | |
Build fixes.
Diffstat (limited to 'test/kdm_cli_test.cc')
| -rw-r--r-- | test/kdm_cli_test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/kdm_cli_test.cc b/test/kdm_cli_test.cc index 107a6210a..e300d82a5 100644 --- a/test/kdm_cli_test.cc +++ b/test/kdm_cli_test.cc @@ -25,6 +25,7 @@ #include "lib/screen.h" #include "lib/trusted_device.h" #include "test.h" +#include <boost/algorithm/string/predicate.hpp> #include <boost/filesystem.hpp> #include <boost/test/unit_test.hpp> #include <iostream> @@ -128,7 +129,7 @@ BOOST_AUTO_TEST_CASE(kdm_cli_select_cinema) auto error = run(args, output); BOOST_CHECK(!error); - BOOST_REQUIRE_EQUAL(output.size(), 2); + BOOST_REQUIRE_EQUAL(output.size(), 2U); BOOST_CHECK(boost::algorithm::starts_with(output[0], "Making KDMs valid from")); BOOST_CHECK_EQUAL(output[1], "Wrote 2 KDM files to build/test"); @@ -164,7 +165,7 @@ BOOST_AUTO_TEST_CASE(kdm_cli_select_screen) auto error = run(args, output); BOOST_CHECK(!error); - BOOST_REQUIRE_EQUAL(output.size(), 2); + BOOST_REQUIRE_EQUAL(output.size(), 2U); BOOST_CHECK(boost::algorithm::starts_with(output[0], "Making KDMs valid from")); BOOST_CHECK_EQUAL(output[1], "Wrote 1 KDM files to build/test"); |
