From: Vsevolod Stakhov Date: Wed, 14 Jul 2021 12:11:51 +0000 (+0100) Subject: [Minor] Change order of the tests X-Git-Tag: 3.0~164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a36361854e80e93c48324379e726ee9298d3764;p=thirdparty%2Frspamd.git [Minor] Change order of the tests --- diff --git a/src/libserver/html/html_tests.cxx b/src/libserver/html/html_tests.cxx index 1181e79ac0..4e87d7e2df 100644 --- a/src/libserver/html/html_tests.cxx +++ b/src/libserver/html/html_tests.cxx @@ -69,7 +69,6 @@ TEST_CASE("html text extraction") { using namespace std::string_literals; const std::vector> cases{ - {"displayed", "displayed"}, {"test", "test"}, {"test\0"s, "test\uFFFD"s}, {"test\0test"s, "test\uFFFDtest"s}, @@ -185,6 +184,7 @@ TEST_CASE("html text extraction") /* Head tag with some stuff */ {"

oh my god", "oh my god\n"}, {"oh my god</head><body></body></html>", ""}, + {"<html><body><html><head>displayed</body></html></body></html>", "displayed"}, };