]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix failing test
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 3 Oct 2022 22:26:25 +0000 (23:26 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 3 Oct 2022 22:26:25 +0000 (23:26 +0100)
src/libutil/cxx/utf8_util.cxx

index 0e7cd39d7d53a5dfd730b5e43c223617bff279d0..c69191e8bf7ee1f92f08908658bfc6a507f52c57 100644 (file)
@@ -230,7 +230,7 @@ TEST_CASE("utf8 normalise") {
                        /* Special case of diacritic */
                        {"13_\u0020\u0308\u0301\u038e\u03ab", "13_ ̈́ΎΫ", RSPAMD_UNICODE_NORM_UNNORMAL},
                        /* Same with zw spaces */
-                       {"13\u200C_\u0020\u0308\u0301\u038e\u03ab\u200D", "13_ ̈́ΎΫ",
+                       {"13\u200C_\u0020\u0308\u0301\u038e\u03ab", "13_ ̈́ΎΫ",
                                        RSPAMD_UNICODE_NORM_UNNORMAL|RSPAMD_UNICODE_NORM_ZERO_SPACES},
                        /* Buffer overflow case */
                        {"u\xC2\xC2\xC2\xC2\xC2\xC2""abcdef""abcdef", "u\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD",