summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2023-11-03 06:43:44 +0100
committerJohannes Altmanninger <aclopte@gmail.com>2023-11-03 06:45:02 +0100
commit8a3613e5a072c4348b70561c21d46da06876e9ba (patch)
tree2f8c5c63bfa9f6c7e1f1e1f95e7de284be439672 /test
parent7577fa1b668ea81eb9b7b9af690a4161187129dd (diff)
Fix "%val{selections_desc}" being joined by nul instead of space
This should fix a bug in lint.kak though I didn't check.
Diffstat (limited to 'test')
-rw-r--r--test/regression/quoted-vals/cmd1
-rw-r--r--test/regression/quoted-vals/in2
-rw-r--r--test/regression/quoted-vals/out1
3 files changed, 4 insertions, 0 deletions
diff --git a/test/regression/quoted-vals/cmd b/test/regression/quoted-vals/cmd
new file mode 100644
index 00000000..664c7ea3
--- /dev/null
+++ b/test/regression/quoted-vals/cmd
@@ -0,0 +1 @@
+:exec "%%c%val{selections_desc}<lt>esc>"<ret>
diff --git a/test/regression/quoted-vals/in b/test/regression/quoted-vals/in
new file mode 100644
index 00000000..29625db5
--- /dev/null
+++ b/test/regression/quoted-vals/in
@@ -0,0 +1,2 @@
+%(sel1)
+ %(sel2)
diff --git a/test/regression/quoted-vals/out b/test/regression/quoted-vals/out
new file mode 100644
index 00000000..933d000f
--- /dev/null
+++ b/test/regression/quoted-vals/out
@@ -0,0 +1 @@
+2.2,2.5 1.1,1.4