]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix entities unit tests
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Jun 2021 13:46:39 +0000 (14:46 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 26 Jun 2021 13:46:51 +0000 (14:46 +0100)
src/libserver/html/html_entities.cxx

index 4cbdf02bf51f667dec0236b11f6c911d6a6076a5..0d5b7d4de457ef9348c5a06ba0cdd15e0c3b4b6c 100644 (file)
@@ -2577,13 +2577,13 @@ TEST_SUITE("html") {
                                {"abc     def", "abc def"},
                                {"abc\ndef", "abc def"},
                                {"abc\n \tdef", "abc def"},
-                               {"    abc def   ", "abc def"},
+                               {"    abc def   ", "abc def "},
                                {"FOO&gt;BAR", "FOO>BAR"},
                                {"FOO&gtBAR", "FOO>BAR"},
                                {"FOO&gt BAR", "FOO>BAR"},
                                {"FOO&gt;;;BAR", "FOO>;;BAR"},
-                               {"I'm &notit; ", "I'm ¬it;"},
-                               {"I'm &notin; ", "I'm ∉"},
+                               {"I'm &notit;", "I'm ¬it;"},
+                               {"I'm &notin;", "I'm ∉"},
                                {"FOO& BAR", "FOO& BAR"},
                                {"FOO&&&&gt;BAR", "FOO&&&>BAR"},
                                {"FOO&#41;BAR", "FOO)BAR"},