[jruby-joni] 20/31: enable passing invalid group tests
Hideki Yamane
henrich at moszumanska.debian.org
Sat Feb 24 10:44:59 UTC 2018
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 b768b38c43e5c7cbd0cc0a035520d4d6fba6e75f
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Fri Feb 2 18:39:09 2018 +0100
enable passing invalid group tests
---
test/org/joni/test/TestError.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/org/joni/test/TestError.java b/test/org/joni/test/TestError.java
index 5c44f91..f052ace 100755
--- a/test/org/joni/test/TestError.java
+++ b/test/org/joni/test/TestError.java
@@ -80,6 +80,11 @@ public class TestError extends Test {
// xerrs("(?<", ErrorMessages.ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
xerrs("(?<>)", ErrorMessages.ERR_EMPTY_GROUP_NAME);
- // xerrs("(?<.>)", ErrorMessages.ERR_INVALID_CHAR_IN_GROUP_NAME);
+ //xerrs("(?<.>)", ErrorMessages.ERR_INVALID_CHAR_IN_GROUP_NAME);
+ xerrs("\\g<1->", ErrorMessages.ERR_INVALID_CHAR_IN_GROUP_NAME.replace("%n", "1->"));
+ xerrs("\\k<1/>", ErrorMessages.ERR_INVALID_GROUP_NAME.replace("%n", "1/"));
+ // xerrs("\\k<1-1/>", ErrorMessages.ERR_INVALID_GROUP_NAME.replace("%n", "1-1/>"));
+ // xerrs("\\k<a/>", ErrorMessages.ERR_INVALID_CHAR_IN_GROUP_NAME.replace("%n", "a/"));
+
}
}
--
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