diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-03 23:26:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-03 23:26:25 +0100 |
commit | 97a5a0f26f04e9352a5e78e1d6a6143abde35237 (patch) | |
tree | c57f908ab18f58082e7ef1d9e8cc2813081314a7 /src/libutil | |
parent | e5328bd63e30aba25e20fb94a21927a5eef61e50 (diff) | |
download | rspamd-97a5a0f26f04e9352a5e78e1d6a6143abde35237.tar.gz rspamd-97a5a0f26f04e9352a5e78e1d6a6143abde35237.zip |
[Test] Fix failing test
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/cxx/utf8_util.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/cxx/utf8_util.cxx b/src/libutil/cxx/utf8_util.cxx index 0e7cd39d7..c69191e8b 100644 --- a/src/libutil/cxx/utf8_util.cxx +++ b/src/libutil/cxx/utf8_util.cxx @@ -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", |