summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 14:08:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 14:08:40 +0200
commit66e0fdd5369bd804e9147e32a1a043559f2b5e9d (patch)
tree2553375acc15cf83e0d773858493d758f62212ef /test
parent0e4c1c1dd3dd4271e54a7305699c303b629fa915 (diff)
parent9b2a64e0f1cd115b0091c2b57ad938ec0f7bab4d (diff)
Merge branch 'release/debian/6.3.0-1'debian/6.3.0-1
Diffstat (limited to 'test')
-rw-r--r--test/testc.c1
-rw-r--r--test/testu.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/testc.c b/test/testc.c
index fbad340..ddf9fd5 100644
--- a/test/testc.c
+++ b/test/testc.c
@@ -585,6 +585,7 @@ extern int main(int argc, char* argv[])
x2("[0-9-a]", "-", 0, 1); // PR#44
n("[0-9-a]", ":"); // PR#44
x3("(\\(((?:[^(]|\\g<1>)*)\\))", "(abc)(abc)", 1, 4, 2); // PR#43
+ x2("\\o{101}", "A", 0, 1);
x2("", "¤¢", 0, 0);
x2("¤¢", "¤¢", 0, 2);
diff --git a/test/testu.c b/test/testu.c
index 70284fb..017ebef 100644
--- a/test/testu.c
+++ b/test/testu.c
@@ -903,6 +903,9 @@ extern int main(int argc, char* argv[])
x2("\000a\000<\000b\000>0\3200\3740\2700\3470\3630n0\3000\2460\3630\3550\3740\311\000<\000\134\000/\000b\000>\000\000", "\000a\000<\000b\000>0\3200\3740\2700\3470\3630n0\3000\2460\3630\3550\3740\311\000<\000/\000b\000>\000\000", 0, 40);
x2("\000.\000<\000b\000>0\3200\3740\2700\3470\3630n0\3000\2460\3630\3550\3740\311\000<\000\134\000/\000b\000>\000\000", "\000a\000<\000b\000>0\3200\3740\2700\3470\3630n0\3000\2460\3630\3550\3740\311\000<\000/\000b\000>\000\000", 0, 40);
x2("\000^\000\\\000p\000{\000K\000a\000t\000a\000k\000a\000n\000a\000}\000$\000\000", "\060\277\000\000", 0, 2);
+ x2("\000\\\000o\000{\0001\0000\0001\000}\000\000", "\000A\000\000", 0, 2);
+ x2("\000\\\000o\000{\0001\0001\0000\0007\0002\0001\000}\000\000", "\221\321\000\000", 0, 2);
+
fprintf(stdout,
"\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n",
nsucc, nfail, nerror, onig_version());