From: K.Kosako Date: Mon, 1 Apr 2019 07:30:34 +0000 (+0900) Subject: add some test cases for U+32FF X-Git-Tag: v6.9.2_rc1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f20afad67b6460ae5f5a56a8f6e99afa1375cf2;p=onig add some test cases for U+32FF --- diff --git a/test/test_utf8.c b/test/test_utf8.c index 44b1596..325d20f 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1202,6 +1202,8 @@ extern int main(int argc, char* argv[]) x2("a{3,2}?", "", 0, 0); /* == (?:a{3,2})?*/ x2("a{2,3}+a", "aaa", 0, 3); /* == (?:a{2,3})+*/ + 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 */ e("\\u040", "@", ONIGERR_INVALID_CODE_POINT_VALUE); e("(?\\g)", "zzzz", ONIGERR_NEVER_ENDING_RECURSION);