summaryrefslogtreecommitdiffstats
path: root/tests/attributes
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-05-17 22:10:10 +0200
committerpgen <p.gen.progs@gmail.com>2018-05-17 22:10:10 +0200
commit08156c892cd636dae5e5c9e4d6b017ae269cbd9b (patch)
tree9c839173c636a9a882315b287050e6572e4d26da /tests/attributes
parenta16fda1d4f10ebd351375acbdeaf9f8ebee6999c (diff)
[-a] add a setting for cursor_on_tagged_word (ct)
Diffstat (limited to 'tests/attributes')
-rw-r--r--tests/attributes/t0006.good11
l---------tests/attributes/t0006.in1
-rw-r--r--tests/attributes/t0006.tst4
-rw-r--r--tests/attributes/t0007.good11
l---------tests/attributes/t0007.in1
-rw-r--r--tests/attributes/t0007.tst4
6 files changed, 32 insertions, 0 deletions
diff --git a/tests/attributes/t0006.good b/tests/attributes/t0006.good
new file mode 100644
index 0000000..34d521b
--- /dev/null
+++ b/tests/attributes/t0006.good
@@ -0,0 +1,11 @@
+$ OUT=$(smenu -T -a t:3,b -- t0006.in)
+
+a b c aa bb cc aba
+2:0407 6:0121 7:0121
+$
+
+$ echo ":$OUT:"
+
+:b aa:
+
+$ exit 0
diff --git a/tests/attributes/t0006.in b/tests/attributes/t0006.in
new file mode 120000
index 0000000..0abc8f1
--- /dev/null
+++ b/tests/attributes/t0006.in
@@ -0,0 +1 @@
+data1 \ No newline at end of file
diff --git a/tests/attributes/t0006.tst b/tests/attributes/t0006.tst
new file mode 100644
index 0000000..f5d1a10
--- /dev/null
+++ b/tests/attributes/t0006.tst
@@ -0,0 +1,4 @@
+\S[10]OUT=$(smenu -T -a t:3,b -- t0006.in)
+\S[100]\s[120]ltllthh\r
+\s[0]echo ":$OUT:"
+exit 0
diff --git a/tests/attributes/t0007.good b/tests/attributes/t0007.good
new file mode 100644
index 0000000..999b800
--- /dev/null
+++ b/tests/attributes/t0007.good
@@ -0,0 +1,11 @@
+$ OUT=$(smenu -a ct:2/0,rb t:2/0,r -P -- t0007.in)
+
+a b c aa bb cc aba
+2:072028 6:01072028 7:01072028 12:072028 13:072028
+$
+
+$ echo ":$OUT:"
+
+:b cc aa:
+
+$ exit 0
diff --git a/tests/attributes/t0007.in b/tests/attributes/t0007.in
new file mode 120000
index 0000000..0abc8f1
--- /dev/null
+++ b/tests/attributes/t0007.in
@@ -0,0 +1 @@
+data1 \ No newline at end of file
diff --git a/tests/attributes/t0007.tst b/tests/attributes/t0007.tst
new file mode 100644
index 0000000..ecbfa94
--- /dev/null
+++ b/tests/attributes/t0007.tst
@@ -0,0 +1,4 @@
+\S[10]OUT=$(smenu -a ct:2/0,rb t:2/0,r -P -- t0007.in)
+\S[100]\s[120]ltllllthht\r
+\s[0]echo ":$OUT:"
+exit 0