diff options
-rw-r--r-- | gentoobrowse/src/test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gentoobrowse/src/test.cpp b/gentoobrowse/src/test.cpp index aa49a07..9be68a6 100644 --- a/gentoobrowse/src/test.cpp +++ b/gentoobrowse/src/test.cpp @@ -96,6 +96,8 @@ public: auto h = getResponseHeaders(); BOOST_REQUIRE_EQUAL(h["Status"], "200 OK"); BOOST_REQUIRE_EQUAL(h["Content-Type"], "application/xml"); + BOOST_TEST_INFO(this->output.view()); + BOOST_REQUIRE_NE(this->output.view().find("<?xml version"), std::string_view::npos); xmlpp::DomParser p; p.parse_stream(this->output); } @@ -122,6 +124,8 @@ public: auto h = getResponseHeaders(); BOOST_REQUIRE_EQUAL(h["Status"], "200 OK"); BOOST_REQUIRE_EQUAL(h["Content-Type"], "application/atom+xml"); + BOOST_TEST_INFO(this->output.view()); + BOOST_REQUIRE_NE(this->output.view().find("<?xml version"), std::string_view::npos); xmlpp::DomParser p; p.parse_stream(this->output); } |