]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Fix test case
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 5 Jul 2021 15:39:14 +0000 (16:39 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 5 Jul 2021 15:39:14 +0000 (16:39 +0100)
src/libserver/html/html.cxx

index 395648c0c319b48afa854af98683ad71a7299027..d46d291d610892aad3e74bfe042b3b2b92e4205f 100644 (file)
@@ -1937,9 +1937,9 @@ TEST_CASE("html text extraction")
                        {"</head>\n"
                         "<body>\n"
                         "<p> Hello. I have some bad news.\n"
-                        "<br /> <br /> <br /> <strong> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> </strong><span> <br /> </span></p>\n"
+                        "<br /> <br /> <br /> <strong> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> </strong><span> <br /> </span>test</p>\n"
                         "</body>\n"
-                        "</html>", " Hello. I have some bad news.\n\n\n\n\n\n\n\n"},
+                        "</html>", "Hello. I have some bad news. \n\n\n\n\n\n\n\n\n\n\n\ntest\n"},
                        {"  <body>\n"
                         "    <!-- escape content -->\n"
                         "    a&nbsp;b a &gt; b a &lt; b a &amp; b &apos;a &quot;a&quot;\n"