From 1a36361854e80e93c48324379e726ee9298d3764 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 14 Jul 2021 13:11:51 +0100 Subject: [PATCH] [Minor] Change order of the tests --- src/libserver/html/html_tests.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}, }; -- 2.47.3