summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-08 16:47:06 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 16:47:06 +0100
commitd5c44003e016ea4d7ef0d59f3fffac1cb84f4839 (patch)
treec9bbc5cf9e533488200790c7218eb23de60b7176
parentcadca6e4f8c1d844f1b5fb9375023e627c674fa9 (diff)
Fix test build on macOS.
-rw-r--r--test/hints_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hints_test.cc b/test/hints_test.cc
index aabcaaeac..5222f9046 100644
--- a/test/hints_test.cc
+++ b/test/hints_test.cc
@@ -75,7 +75,7 @@ check (TextType type, string name, optional<string> expected_hint = optional<str
vector<string> hints = get_hints (film);
if (expected_hint) {
- BOOST_REQUIRE_EQUAL (hints.size(), 1);
+ BOOST_REQUIRE_EQUAL (hints.size(), 1U);
BOOST_CHECK_EQUAL (hints[0], *expected_hint);
} else {
BOOST_CHECK (hints.empty());
@@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE (hint_subtitle_mxf_too_big)
BOOST_REQUIRE (!wait_for_jobs());
vector<string> hints = get_hints (film);
- BOOST_REQUIRE_EQUAL (hints.size(), 1);
+ BOOST_REQUIRE_EQUAL (hints.size(), 1U);
BOOST_CHECK_EQUAL (
hints[0],
"At least one of your subtitle files is larger than " MAX_TEXT_MXF_SIZE_TEXT " in total. "
@@ -201,7 +201,7 @@ BOOST_AUTO_TEST_CASE (hint_closed_caption_xml_too_big)
BOOST_REQUIRE (!wait_for_jobs());
vector<string> hints = get_hints (film);
- BOOST_REQUIRE_EQUAL (hints.size(), 1);
+ BOOST_REQUIRE_EQUAL (hints.size(), 1U);
BOOST_CHECK_EQUAL (
hints[0],
"At least one of your closed caption files' XML part is larger than " MAX_CLOSED_CAPTION_XML_SIZE_TEXT ". "