diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-22 23:18:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-22 23:18:04 +0100 |
| commit | 15a1da99e3930860e160a6c94b87e5467c765fcf (patch) | |
| tree | 07e7a1230057a0579204d8b857e0fb1c34873ee6 /test | |
| parent | d3ecb8495a42d039b07313e393734c49fdc6be66 (diff) | |
Be a bit more defensive in a test that is failing on Windows.
Diffstat (limited to 'test')
| -rw-r--r-- | test/subtitle_font_id_change_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/subtitle_font_id_change_test.cc b/test/subtitle_font_id_change_test.cc index 878dc6506..57add5c63 100644 --- a/test/subtitle_font_id_change_test.cc +++ b/test/subtitle_font_id_change_test.cc @@ -114,10 +114,12 @@ BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test3) BOOST_REQUIRE (!wait_for_jobs()); auto font = content[0]->text.front()->get_font("Arial Black"); + BOOST_REQUIRE(font); BOOST_REQUIRE(font->file()); BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf"); font = content[0]->text.front()->get_font("Helvetica Neue"); + BOOST_REQUIRE(font); BOOST_REQUIRE(font->file()); BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf"); |
