summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/subtitle_reel_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/subtitle_reel_test.cc b/test/subtitle_reel_test.cc
index 2938c6d10..2c5c364d0 100644
--- a/test/subtitle_reel_test.cc
+++ b/test/subtitle_reel_test.cc
@@ -121,9 +121,9 @@ BOOST_AUTO_TEST_CASE (subtitle_in_all_reels_test)
dcp::DCP dcp ("build/test/subtitle_in_all_reels_test/" + film->dcp_name());
dcp.read ();
- BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1);
+ BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1U);
shared_ptr<dcp::CPL> cpl = dcp.cpls().front();
- BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3);
+ BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3U);
BOOST_FOREACH (shared_ptr<dcp::Reel> i, cpl->reels()) {
BOOST_CHECK (i->main_subtitle());
@@ -166,12 +166,12 @@ BOOST_AUTO_TEST_CASE (closed_captions_in_all_reels_test)
dcp::DCP dcp ("build/test/closed_captions_in_all_reels_test/" + film->dcp_name());
dcp.read ();
- BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1);
+ BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 1U);
shared_ptr<dcp::CPL> cpl = dcp.cpls().front();
- BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3);
+ BOOST_REQUIRE_EQUAL (cpl->reels().size(), 3U);
BOOST_FOREACH (shared_ptr<dcp::Reel> i, cpl->reels()) {
- BOOST_REQUIRE_EQUAL (i->closed_captions().size(), 2);
+ BOOST_REQUIRE_EQUAL (i->closed_captions().size(), 2U);
optional<string> first = i->closed_captions().front()->language();
optional<string> second = i->closed_captions().back()->language();
BOOST_REQUIRE (first);