summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-06-02 19:35:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-06-02 19:35:35 +0200
commit7b8e42400dc780b86479b4f0c713db5d9aa6623b (patch)
treeebe0dd5a09b8bf368b5695b13eb28fe07371afc5 /test
parent0e4c1c1dd3dd4271e54a7305699c303b629fa915 (diff)
parent9c10d3a428f2e33d01e1ea66932d272ac731787f (diff)
Merge tag 'upstream/6.3.0' into feature/upstream
Upstream version 6.3.0
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());