aboutsummaryrefslogtreecommitdiff
path: root/test/test_utf8.c
diff options
context:
space:
mode:
authorK.Kosako <kosako@sofnec.co.jp>2019-11-12 10:33:41 +0900
committerK.Kosako <kosako@sofnec.co.jp>2019-11-12 10:33:41 +0900
commita4856c9b770f0d925122574436927d4e5d107b92 (patch)
tree5143b44d3c77620c9af66773e04acd45d6020176 /test/test_utf8.c
parent8d37d843635de25464a95ddb7f237c877ac58730 (diff)
downloadoniguruma-a4856c9b770f0d925122574436927d4e5d107b92.zip
oniguruma-a4856c9b770f0d925122574436927d4e5d107b92.tar.gz
oniguruma-a4856c9b770f0d925122574436927d4e5d107b92.tar.bz2
add two test cases
Diffstat (limited to 'test/test_utf8.c')
-rw-r--r--test/test_utf8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_utf8.c b/test/test_utf8.c
index 767c29d..f170f86 100644
--- a/test/test_utf8.c
+++ b/test/test_utf8.c
@@ -1286,7 +1286,8 @@ extern int main(int argc, char* argv[])
e("(?i)000000000000000000000\xf0", "", ONIGERR_INVALID_CODE_POINT_VALUE); /* https://bugs.php.net/bug.php?id=77382 */
n("0000\\\xf5", "0"); /* https://bugs.php.net/bug.php?id=77385 */
n("(?i)FFF00000000000000000\xfd", ""); /* https://bugs.php.net/bug.php?id=77394 */
-
+ e("x{55380}{77590}", "", ONIGERR_TOO_BIG_NUMBER_FOR_REPEAT_RANGE);
+ e("(xyz){40000}{99999}(?<name>vv)", "", ONIGERR_TOO_BIG_NUMBER_FOR_REPEAT_RANGE);
x2("\\p{Common}", "\xe3\x8b\xbf", 0, 3); /* U+32FF */
x2("\\p{In_Enclosed_CJK_Letters_and_Months}", "\xe3\x8b\xbf", 0, 3); /* U+32FF */