commit 5bd894a: [Test] Oops, fix test expectation

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Jul 11 11:28:09 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-11 12:14:34 +0100
URL: https://github.com/rspamd/rspamd/commit/5bd894a34c665bfff8302a8241d545b21ba8c658

[Test] Oops, fix test expectation

---
 src/libserver/html/html.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 05c70716e..1b73e11a6 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -2095,7 +2095,7 @@ TEST_CASE("html text extraction")
 			 "<p style=\"font-size: 11px; line-height: 1.2; color: #555555; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; mso-line-height-alt: 14px; margin: 0;\">\n"
 			 " </p>",
 					" Sincerely,\n Skype Web\n"},
-			{"lala<p hidden>fafa</p>", "lala\n"},
+			{"lala<p hidden>fafa</p>", "lala"},
 			/* bgcolor propagation */
 			{"<a style=\"display: inline-block; color: #ffffff; background-color: #00aff0;\">\n"
 			 "<span style=\"color: #00aff0;\">F</span>Rev<span style=\"opacity: 1;\"></span></span>ie<span style=\"opacity: 1;\"></span>"


More information about the Commits mailing list