diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:53 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:53 +0100 |
commit | 5fc8746a80a7bc6fe88845e1aae3a69903d21cdb (patch) | |
tree | e59de9241eef0f0ecb27038f7c85df6619309999 /test/test_options.c | |
parent | c9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff) | |
parent | 35e13e4c9637f5bf7bef6039c8c813207780a174 (diff) |
Update upstream source from tag 'upstream/6.9.9'
Update to upstream version '6.9.9'
with Debian dir 5b0f8b561f5675106115901f41e387c12471c40a
Diffstat (limited to 'test/test_options.c')
-rw-r--r-- | test/test_options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_options.c b/test/test_options.c index 7010f0f..ce92ee1 100644 --- a/test/test_options.c +++ b/test/test_options.c @@ -197,6 +197,11 @@ extern int main(int argc, char* argv[]) n(ONIG_OPTION_NOT_END_STRING, "ab\\Z", "ab"); n(ONIG_OPTION_NOT_END_STRING, "ab\\Z", "ab\n"); + x2(ONIG_OPTION_NONE, "a|abc", "abc", 0, 1); + x2(ONIG_OPTION_NONE, "(a|abc)\\Z", "abc", 0, 3); + x2(ONIG_OPTION_MATCH_WHOLE_STRING, "a|abc", "abc", 0, 3); + x2(ONIG_OPTION_MATCH_WHOLE_STRING, "a|abc", "a", 0, 1); + x2(ONIG_OPTION_WORD_IS_ASCII, "\\w", "@g", 1, 2); n(ONIG_OPTION_WORD_IS_ASCII, "\\w", "あ"); x2(ONIG_OPTION_NONE, "\\d", "1", 0, 3); @@ -219,6 +224,5 @@ extern int main(int argc, char* argv[]) onig_region_free(region, 1); onig_end(); - return ((nfail == 0 && nerror == 0) ? 0 : -1); } |