diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-14 13:11:51 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-14 17:34:04 +0100 |
commit | 1a36361854e80e93c48324379e726ee9298d3764 (patch) | |
tree | 3d61fc579fc752bf4083e5807a1ffeacdaaf652c /src/libserver/html/html_tests.cxx | |
parent | 81e63e989b8d93cd5bc2391fa3ea90c7545150db (diff) | |
download | rspamd-1a36361854e80e93c48324379e726ee9298d3764.tar.gz rspamd-1a36361854e80e93c48324379e726ee9298d3764.zip |
[Minor] Change order of the tests
Diffstat (limited to 'src/libserver/html/html_tests.cxx')
-rw-r--r-- | src/libserver/html/html_tests.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/html/html_tests.cxx b/src/libserver/html/html_tests.cxx index 1181e79ac..4e87d7e2d 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<std::pair<std::string, std::string>> cases{ - {"<html><body><html><head>displayed</body></html></body></html>", "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 */ {"<html><head><p>oh my god</head><body></body></html>", "oh my god\n"}, {"<html><head><title>oh my god</head><body></body></html>", ""}, + {"<html><body><html><head>displayed</body></html></body></html>", "displayed"}, }; |