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 53b2c278fbe5ffb7cc93d303884a97bb58ccd96f
Author: Marcin Mielzynski <[email protected]>
Date:   Wed May 16 01:23:54 2012 +0200

    Make the test more explicit.
---
 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 1f56fac..839462c 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -69,8 +69,12 @@ public class TestU8 extends Test {
 
         x2(pat, str, 0, 4, Option.IGNORECASE);
 
-        x2s("^Å{2}$", "ÅÅ", 4, 4);
-        x2s("^Å{2}$", "ÅÅ", 4, 4, Option.IGNORECASE);
+        String str2 = new String(new byte[]{-61, -123, -61, -123});
+        String pat2 = new String(new byte[]{'^', -61, -123, '{', '2', '}', 
'$'});
+
+        x2s(pat2, str2, 4, 4);
+        x2s(pat2, str2, 4, 4, Option.IGNORECASE);
+
     }
 
     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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to