From a1850db2268e0303859445e64f48e3103d51a738 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 21 Apr 2021 12:49:32 +0200 Subject: [PATCH] Fix test for escape_some_html(). --- tests/test_escape_some_html.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_escape_some_html.cpp b/tests/test_escape_some_html.cpp index 3694766..371fbb4 100644 --- a/tests/test_escape_some_html.cpp +++ b/tests/test_escape_some_html.cpp @@ -1,5 +1,5 @@ /* This file is part of gitea2rss. - * Copyright © 2019, 2020 tastytea + * Copyright © 2019-2021 tastytea * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,7 +15,9 @@ */ #include "gitea2rss.hpp" + #include + #include using std::string; @@ -30,7 +32,8 @@ SCENARIO("escape_some_html() works as expected", "[strings]") THEN("The HTML is escaped") { REQUIRE(escaped - == "<p><small>.</small></p>"); + == "<p><small>.</" + "small></p>"); } } }