diff options
author | K.Kosako <kosako@sofnec.co.jp> | 2019-11-12 11:16:03 +0900 |
---|---|---|
committer | K.Kosako <kosako@sofnec.co.jp> | 2019-11-12 11:16:03 +0900 |
commit | a51ad7b0037ae7c7b3e182ed188ce9d7fef250cc (patch) | |
tree | fd8391d57088a426443c9e4c510b61668e2b6c92 /test/test_utf8.c | |
parent | 22585b0476122a8b18316c13edd0205ff4b52f1d (diff) | |
download | oniguruma-a51ad7b0037ae7c7b3e182ed188ce9d7fef250cc.zip oniguruma-a51ad7b0037ae7c7b3e182ed188ce9d7fef250cc.tar.gz oniguruma-a51ad7b0037ae7c7b3e182ed188ce9d7fef250cc.tar.bz2 |
add two test cases
Diffstat (limited to 'test/test_utf8.c')
-rw-r--r-- | test/test_utf8.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_utf8.c b/test/test_utf8.c index f170f86..0f2d606 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1288,6 +1288,8 @@ extern int main(int argc, char* argv[]) 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); + e("f{90000,90000}{80000,80000}", "", ONIGERR_TOO_BIG_NUMBER_FOR_REPEAT_RANGE); + n("f{90000,90000}{80000,80001}", ""); 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 */ |