From 8dc70c1dab97a336fdb82da75f368ea0a8e679e3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Jun 2022 08:06:33 +0200 Subject: [PATCH] Re-fix test references. Not sure what happened there. --- test/render_subtitles_test.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/render_subtitles_test.cc b/test/render_subtitles_test.cc index 508e73972..0110752a1 100644 --- a/test/render_subtitles_test.cc +++ b/test/render_subtitles_test.cc @@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test1) { std::list s; add (s, "Hello", false, false, false); - BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); + BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } /** Test marked_up() in render_text.cc */ @@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test2) { std::list s; add (s, "Hello", false, true, false); - BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); + BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } @@ -86,7 +86,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test3) { std::list s; add (s, "Hello", true, true, false); - BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); + BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } /** Test marked_up() in render_text.cc */ @@ -94,7 +94,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test4) { std::list s; add (s, "Hello", true, true, true); - BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); + BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } /** Test marked_up() in render_text.cc */ @@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test5) std::list s; add (s, "Hello", false, true, false); add (s, " world.", false, false, false); - BOOST_CHECK_EQUAL (marked_up(s, 1024, 1, ""), "Hello world."); + BOOST_CHECK_EQUAL (marked_up(s, 1024, 1, ""), "Hello world."); } /** Test marked_up() in render_text.cc */ @@ -113,5 +113,5 @@ BOOST_AUTO_TEST_CASE (render_markup_test6) add (s, "Hello", true, false, false); add (s, " world ", false, false, false); add (s, "we are bold.", false, true, false); - BOOST_CHECK_EQUAL (marked_up(s, 1024, 1, ""), "Hello world we are bold."); + BOOST_CHECK_EQUAL (marked_up(s, 1024, 1, ""), "Hello world we are bold."); } -- 2.30.2