[jruby-joni] 115/279: Test case to cover OPCode.EXACTMBN opcode.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:27:08 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 1a082e607ac87c64428665ed8901574a22e95636
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Mon Feb 20 01:33:59 2012 +0100
Test case to cover OPCode.EXACTMBN opcode.
---
test/org/joni/test/TestU8.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java
index fe18d22..16204db 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -49,6 +49,11 @@ public class TestU8 extends Test {
x2s("x{3}", "XxX", 0, 3, Option.IGNORECASE);
ns("x{2}", "x", Option.IGNORECASE);
ns("x{2}", "X", Option.IGNORECASE);
+
+ byte[] pat = new byte[] {(byte)227, (byte)131, (byte)160, (byte)40, (byte)46, (byte)41};
+ 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);
}
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