From 7a47f00a7ff3f95ef4013bf453340b94c8535e07 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 6 Apr 2023 22:32:14 +0200 Subject: Remove xmlns:xs namespace from subtitle XML (DoM #2498). --- test/shared_subtitle_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/shared_subtitle_test.cc') diff --git a/test/shared_subtitle_test.cc b/test/shared_subtitle_test.cc index 9c841f90..69ae2be4 100644 --- a/test/shared_subtitle_test.cc +++ b/test/shared_subtitle_test.cc @@ -51,10 +51,10 @@ #include -using std::string; +using std::make_shared; using std::shared_ptr; +using std::string; using std::vector; -using std::make_shared; using boost::optional; @@ -183,9 +183,9 @@ BOOST_AUTO_TEST_CASE (format_xml_test1) fred->add_child_text("Fred"); fred->add_child("Text")->add_child_text("Jim"); fred->add_child_text("Sheila"); - BOOST_REQUIRE_EQUAL (dcp::SubtitleAsset::format_xml(doc, { {"", "fred"}, {"jim", "sheila"} }), + BOOST_REQUIRE_EQUAL (dcp::SubtitleAsset::format_xml(doc, make_pair(string{}, string{"fred"})), "\n" -"\n" +"\n" " \n" " Hello world\n" " \n" -- cgit v1.2.3