Fix test for escape_some_html().
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7438f878c2
commit
a1850db226
|
@ -1,5 +1,5 @@
|
|||
/* This file is part of gitea2rss.
|
||||
* Copyright © 2019, 2020 tastytea <tastytea@tastytea.de>
|
||||
* Copyright © 2019-2021 tastytea <tastytea@tastytea.de>
|
||||
*
|
||||
* 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 <catch.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
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>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user