Browse Source

[Test] Fix failing test

tags/3.4
Vsevolod Stakhov 1 year ago
parent
commit
97a5a0f26f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libutil/cxx/utf8_util.cxx

+ 1
- 1
src/libutil/cxx/utf8_util.cxx View 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",

Loading…
Cancel
Save