[jruby-joni] 27/194: add unicode tests
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:10 UTC 2018
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit 0217e44a1bf1062f57b58ab235fcc378e9c50ba7
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Tue Dec 26 15:20:05 2017 +0100
add unicode tests
---
test/org/joni/test/TestU8.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java
index 09219f7..978d5ea 100755
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -160,9 +160,13 @@ public class TestU8 extends Test {
x2s("\\A\\X\\X\\z", "\r\u0308", 0, 3);
x2s("\\A\\X\\X\\z", "\n\u0308", 0, 3);
- // x2s("\\p{In_Unified_Canadian_Aboriginal_Syllabics_Extended}+", "\u18B0\u18FF", 0, 6);
+ x2s("\\p{In_Unified_Canadian_Aboriginal_Syllabics_Extended}+", "\u18B0\u18FF", 0, 6);
x2s("(?i)\u1ffc", "\u2126\u1fbe", 0, 6);
-
+ x2s("(?i)\u1ffc", "\u1ff3", 0, 3);
+ x2s("(?i)\u0390", "\u03b9\u0308\u0301", 0, 6);
+ x2s("(?i)\u03b9\u0308\u0301", "\u0390", 0, 2);
+ x2s("(?i)ff", "\ufb00", 0, 3);
+ x2s("(?i)\ufb01", "fi", 0, 2);
super.test();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list