[jruby-joni] 135/223: Tests for JRUBY-6923 - UTF-8 string is not matching //i properly

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:22:00 UTC 2015


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 3dbdcd898fab4950ec5c9e2ebba34897f61dda2b
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Mon Oct 8 20:24:55 2012 +0200

    Tests for JRUBY-6923 - UTF-8 string is not matching //i properly
---
 test/org/joni/test/TestU8.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java
index 53400f6..c922401 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -76,6 +76,10 @@ public class TestU8 extends Test {
         // x2s(pat2, str2, 4, 4, Option.IGNORECASE);
 
         ns("(?i-mx:ak)a", "ema");
+
+        x2s("(?i:!\\[CDAT)", "![CDAT", 0, 6);
+        x2s("(?i:\\!\\[CDAa)", "\\![CDAa", 1, 7);
+        x2s("(?i:\\!\\[CDAb)", "\\![CDAb", 1, 7);
     }
 
     public static void main(String[] args) throws Throwable {

-- 
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