summaryrefslogtreecommitdiff
path: root/test/compose
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-04-07 09:31:36 +1000
committerMaxime Coste <mawww@kakoune.org>2019-04-07 09:32:17 +1000
commit744778be30f2f78bea4af5523f00da98480cda4d (patch)
treee3f6032a644c471a8959da4c0d964b65785110dc /test/compose
parent835f2239a7428d3457e277c95ad39e2cdd5211d5 (diff)
Add a -to-file <filename> switch to the echo command
As discussed in #2836
Diffstat (limited to 'test/compose')
-rw-r--r--test/compose/echo-to-file/cmd1
-rw-r--r--test/compose/echo-to-file/in1
-rw-r--r--test/compose/echo-to-file/out1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/compose/echo-to-file/cmd b/test/compose/echo-to-file/cmd
new file mode 100644
index 00000000..f5e4924b
--- /dev/null
+++ b/test/compose/echo-to-file/cmd
@@ -0,0 +1 @@
+:echo -to-file data %{foo bar}<ret>!cat data<ret>
diff --git a/test/compose/echo-to-file/in b/test/compose/echo-to-file/in
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/compose/echo-to-file/in
@@ -0,0 +1 @@
+
diff --git a/test/compose/echo-to-file/out b/test/compose/echo-to-file/out
new file mode 100644
index 00000000..d675fa44
--- /dev/null
+++ b/test/compose/echo-to-file/out
@@ -0,0 +1 @@
+foo bar