diff options
author | pgen <p.gen.progs@gmail.com> | 2020-11-11 18:32:55 +0100 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2020-11-11 21:25:23 +0100 |
commit | 039bc49c5685e45905c6b3b40751eec4b2b752de (patch) | |
tree | f2bbc82ce349c835b7ef9ee0dbaa41acd8c77e9e /tests/in-ex-clusions | |
parent | 6bddd53c32658ed546e627050a2524af73d8895d (diff) |
Add tests for RE patterns/inv. character testing
Diffstat (limited to 'tests/in-ex-clusions')
-rw-r--r-- | tests/in-ex-clusions/data2 | 1 | ||||
-rw-r--r-- | tests/in-ex-clusions/t0006.good | 11 | ||||
l--------- | tests/in-ex-clusions/t0006.in | 1 | ||||
-rw-r--r-- | tests/in-ex-clusions/t0006.tst | 4 |
4 files changed, 17 insertions, 0 deletions
diff --git a/tests/in-ex-clusions/data2 b/tests/in-ex-clusions/data2 new file mode 100644 index 0000000..44d75be --- /dev/null +++ b/tests/in-ex-clusions/data2 @@ -0,0 +1 @@ +a«bc\u01 a«b»»c diff --git a/tests/in-ex-clusions/t0006.good b/tests/in-ex-clusions/t0006.good new file mode 100644 index 0000000..dd074f5 --- /dev/null +++ b/tests/in-ex-clusions/t0006.good @@ -0,0 +1,11 @@ +$ OUT=$(smenu -e\\U0000bb t0006.in) + +a«bc. a«b»»c +0:07 1:07 2:07 3:07 4:07 6:24 7:24 8:24 9:24 10:24 11:24 +$ + +$ echo ":$OUT:" + +:a«bc.: + +$ exit 0 diff --git a/tests/in-ex-clusions/t0006.in b/tests/in-ex-clusions/t0006.in new file mode 120000 index 0000000..fee93d1 --- /dev/null +++ b/tests/in-ex-clusions/t0006.in @@ -0,0 +1 @@ +data2
\ No newline at end of file diff --git a/tests/in-ex-clusions/t0006.tst b/tests/in-ex-clusions/t0006.tst new file mode 100644 index 0000000..2f4e753 --- /dev/null +++ b/tests/in-ex-clusions/t0006.tst @@ -0,0 +1,4 @@ +\S[150]\s[10]OUT=$(smenu -e\\\\U0000bb t0006.in) +\S[150]\s[150]l\r +\S[150]\s[10]echo ":$\s[10]OUT:" +exit 0 |