[jruby-joni] 254/279: Enable utf-8 \R tests.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:27:46 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 2735e6635baef1140c0bcd6efcecc13c33dd3d62
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Thu Apr 9 23:53:46 2015 +0200
Enable utf-8 \R tests.
---
test/org/joni/test/TestU8.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java
index 52d6f10..86c2812 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -35,7 +35,7 @@ public class TestU8 extends Test {
}
public String testEncoding() {
- return "iso-8859-1";
+ return "utf-8";
}
public Syntax syntax() {
@@ -81,9 +81,9 @@ public class TestU8 extends Test {
x2s("(?i:\\!\\[CDAa)", "\\![CDAa", 1, 7);
x2s("(?i:\\!\\[CDAb)", "\\![CDAb", 1, 7);
- // x2s("\\R", "\u0085", 0, 1);
- // x2s("\\R", "\u2028", 0, 1);
- // x2s("\\R", "\u2029", 0, 1);
+ x2s("\\R", "\u0085", 0, 2);
+ x2s("\\R", "\u2028", 0, 3);
+ x2s("\\R", "\u2029", 0, 3);
}
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