diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-17 20:47:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-17 20:47:35 +0100 |
| commit | 62ded3029607c88cc842b5b0ae241debf95185c2 (patch) | |
| tree | bb362f24e5f9e6ccae35282c2f141fd7cd5837dd | |
| parent | b082cebf0bea15ea94a5be9eda6de2f5eb8cf3dd (diff) | |
More build fixes.
| -rw-r--r-- | test/closed_caption_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc index bcb6f84a7..d1cb9c3e3 100644 --- a/test/closed_caption_test.cc +++ b/test/closed_caption_test.cc @@ -100,15 +100,15 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2) BOOST_REQUIRE_EQUAL (ccaps.size(), 3U); auto i = ccaps.begin (); - BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track"); + BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "First track"); BOOST_REQUIRE (static_cast<bool>((*i)->language())); BOOST_CHECK_EQUAL ((*i)->language().get(), "fr-FR"); ++i; - BOOST_CHECK_EQUAL ((*i)->annotation_text(), "Second track"); + BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "Second track"); BOOST_REQUIRE (static_cast<bool>((*i)->language())); BOOST_CHECK_EQUAL ((*i)->language().get(), "de-DE"); ++i; - BOOST_CHECK_EQUAL ((*i)->annotation_text(), "Third track"); + BOOST_CHECK_EQUAL ((*i)->annotation_text().get_value_or(""), "Third track"); BOOST_REQUIRE (static_cast<bool>((*i)->language())); BOOST_CHECK_EQUAL ((*i)->language().get(), "it-IT"); |
