diff options
author | pgen <p.gen.progs@gmail.com> | 2022-10-23 19:19:27 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2022-10-23 19:28:11 +0200 |
commit | 9b488c0c71348ab8914d2974cc1c5a87a5a4b93e (patch) | |
tree | b629a6a277325f6477cd1e18206bc63f6cbe1aeb /tests | |
parent | 4068e3aede66cd47539b7d984898c799b016b8e7 (diff) |
Add a 'u' command to untag a tagged word
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tagging/t0014.good | 15 | ||||
l--------- | tests/tagging/t0014.in | 1 | ||||
-rw-r--r-- | tests/tagging/t0014.tst | 4 | ||||
-rw-r--r-- | tests/tagging/t0015.good | 11 | ||||
l--------- | tests/tagging/t0015.in | 1 | ||||
-rw-r--r-- | tests/tagging/t0015.tst | 4 |
6 files changed, 36 insertions, 0 deletions
diff --git a/tests/tagging/t0014.good b/tests/tagging/t0014.good new file mode 100644 index 0000000..904ec66 --- /dev/null +++ b/tests/tagging/t0014.good @@ -0,0 +1,15 @@ +$ OUT=$(smenu -c -P -N'b|d|g' -- t0014.in) + + a 1) b c 2) d +7:01 8:01 9:01 10:01 21:01 22:01 23:01 24:01 + e f 3) g h +12:07 14:01 15:01 16:01 17:01 26:04 + u j k l +5:04 +$ + +$ echo ":$OUT:" + +:u h: + +$ exit 0 diff --git a/tests/tagging/t0014.in b/tests/tagging/t0014.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/tagging/t0014.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/tagging/t0014.tst b/tests/tagging/t0014.tst new file mode 100644 index 0000000..8bca246 --- /dev/null +++ b/tests/tagging/t0014.tst @@ -0,0 +1,4 @@ +\S[150]\s[10]OUT=$(smenu -c -P -N'b|d|g' -- t0014.in) +\S[150]\s[50]jjuthuthtutuh\r +\S[150]\s[10]echo ":$\s[10]OUT:" +exit 0 diff --git a/tests/tagging/t0015.good b/tests/tagging/t0015.good new file mode 100644 index 0000000..d48f327 --- /dev/null +++ b/tests/tagging/t0015.good @@ -0,0 +1,11 @@ +$ OUT=$(smenu -T " " t0015.in) + +a b c d e f g h u j k l +6:04 8:07 10:04 14:04 +$ + +$ echo ":$OUT:" + +:d f h: + +$ exit 0 diff --git a/tests/tagging/t0015.in b/tests/tagging/t0015.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/tagging/t0015.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/tagging/t0015.tst b/tests/tagging/t0015.tst new file mode 100644 index 0000000..1ef5122 --- /dev/null +++ b/tests/tagging/t0015.tst @@ -0,0 +1,4 @@ +\S[150]\s[10]OUT=$(smenu -T " " t0015.in) +\S[150]\s[50]luututulltlultllthuhh\r +\S[150]\s[10]echo ":$\s[10]OUT:" +exit 0 |