File: 90-support-unicode-16-in-tests.patch

package info (click to toggle)
ycmd 0%2B20240823%2Bgit8b61f19%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,464 kB
  • sloc: python: 43,993; cpp: 6,138; java: 486; sh: 378; cs: 207; javascript: 150; ansic: 82; makefile: 45; xml: 18; objc: 10
file content (25 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Support Unicode 16 in testing
Author: David Kalnischkies <donkult@debian.org>
Forwarded: https://github.com/ycm-core/ycmd/issues/1790

--- a/cpp/ycm/tests/CodePoint_test.cpp
+++ b/cpp/ycm/tests/CodePoint_test.cpp
@@ -87,12 +87,16 @@
                 GraphemeBreakProperty::EXTEND,
                 IndicConjunctBreakProperty::EXTEND } },
   // Bengali vowel sign Aa
-  { "া", { "া", "া", "া", false, false, false, GraphemeBreakProperty::EXTEND } },
+  { "া", { "া", "া", "া", false, false, false,
+                GraphemeBreakProperty::EXTEND,
+                IndicConjunctBreakProperty::EXTEND } },
   // Zero-width non-joiner
   { "‌", { "‌", "‌", "‌", false, false, false,
                 GraphemeBreakProperty::EXTEND } },
   // Combining cyrillic millions sign
-  { "҈", { "҈", "҈", "҈", false, false, false, GraphemeBreakProperty::EXTEND } },
+  { "҈", { "҈", "҈", "҈", false, false, false,
+                GraphemeBreakProperty::EXTEND,
+                IndicConjunctBreakProperty::EXTEND } },
 
   // Zero-width joiner
   { "‍", { "‍", "‍", "‍", false, false, false,