From: Vsevolod Stakhov Date: Sat, 26 Jun 2021 13:46:39 +0000 (+0100) Subject: [Minor] Fix entities unit tests X-Git-Tag: 3.0~237 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7300836240130356ebb2c3335ca83aa4e7957562;p=rspamd.git [Minor] Fix entities unit tests --- diff --git a/src/libserver/html/html_entities.cxx b/src/libserver/html/html_entities.cxx index 4cbdf02bf..0d5b7d4de 100644 --- a/src/libserver/html/html_entities.cxx +++ b/src/libserver/html/html_entities.cxx @@ -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>BAR", "FOO>BAR"}, {"FOO>BAR", "FOO>BAR"}, {"FOO> BAR", "FOO>BAR"}, {"FOO>;;BAR", "FOO>;;BAR"}, - {"I'm ¬it; ", "I'm ¬it;"}, - {"I'm ∉ ", "I'm ∉"}, + {"I'm ¬it;", "I'm ¬it;"}, + {"I'm ∉", "I'm ∉"}, {"FOO& BAR", "FOO& BAR"}, {"FOO&&&>BAR", "FOO&&&>BAR"}, {"FOO)BAR", "FOO)BAR"},