Browse Source

Remove Unicode $180E (Mongolian Vowel Separator), as it is not anymore a whitespace character

git-svn-id: trunk@40600 -
pierre 6 years ago
parent
commit
e9e5b05caa
1 changed files with 7 additions and 1 deletions
  1. 7 1
      tests/test/units/character/tiswhitespace.pp

+ 7 - 1
tests/test/units/character/tiswhitespace.pp

@@ -77,7 +77,13 @@ var
   uc : UnicodeChar;
   uc : UnicodeChar;
 begin  
 begin  
   e := 1;
   e := 1;
-  CheckItems([$0020,$1680,$180E],True,e);
+  { According to:
+    https://en.wikipedia.org/wiki/Unicode_character_property
+    Unicode char $180E, Mongolian Vowel Separator
+    was considered as a space separator but is
+    in the Other,Format category since Unicode version 6.3.0
+    thus $180E is removed here. }
+  CheckItems([$0020,$1680],True,e);
   CheckItems($2000,$200A,True,e);
   CheckItems($2000,$200A,True,e);
   CheckItems([$202F,$205F,$3000],True,e);
   CheckItems([$202F,$205F,$3000],True,e);
   CheckItems([$2028,$2029],True,e);
   CheckItems([$2028,$2029],True,e);