summaryrefslogtreecommitdiffstats
path: root/src/testdir/test22.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-13 18:59:55 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-13 18:59:55 +0200
commitb96a32ef1a95dd4ebf9413d686bccb1b4645f74b (patch)
treeb9672586db9ccb2505455420ab8bf7d30561c7ea /src/testdir/test22.in
parent7ac616cb0a52bc72b449e19cf9db93bee116c15a (diff)
patch 8.2.1439: tiny and small builds have no test coveragev8.2.1439
Problem: Tiny and small builds have no test coverage. Solution: Restore tests that do not depend on the +eval feature. (Ken Takata, closes #6696)
Diffstat (limited to 'src/testdir/test22.in')
-rw-r--r--src/testdir/test22.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/testdir/test22.in b/src/testdir/test22.in
new file mode 100644
index 0000000000..0e0e605531
--- /dev/null
+++ b/src/testdir/test22.in
@@ -0,0 +1,15 @@
+Tests for complicated + argument to :edit command
+
+STARTTEST
+:$-1w! Xfile1
+:$w! Xfile2
+:edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
+:w! test.out
+:e Xfile1
+:w >> test.out
+:qa!
+ENDTEST
+
+The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
+foo|bar
+foo/bar