[jruby-joni] 123/279: Add a test for utf-8 as well.

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:27:11 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 13047dd408cd1e155d5736abf7b83788f134bbac
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Wed Feb 22 03:19:15 2012 +0100

    Add a test for utf-8 as well.
---
 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 16204db..ec51c0f 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -54,6 +54,10 @@ public class TestU8 extends Test {
         byte[] str = new byte[]{(byte)227, (byte)130, (byte)185, (byte)227, (byte)131, (byte)145, (byte)227, (byte)131, (byte)160, (byte)227, (byte)131, (byte)143, (byte)227, (byte)131, (byte)179, (byte)227, (byte)130, (byte)175};
 
         x2(pat, str, 6, 12);
+
+        x2s("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 0, 35, Option.IGNORECASE);
+        x2s("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", 0, 35, Option.IGNORECASE);
+        x2s("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "aaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAA", 0, 35, 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



More information about the pkg-java-commits mailing list