summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-02-06 18:24:02 +0100
committerBram Moolenaar <Bram@vim.org>2013-02-06 18:24:02 +0100
commit11cb6e6e137afb9e20d68e69bf38d458a96701fd (patch)
tree60e0d99ce041ac3c537d768d7df68ba03fd1eb8d /src/testdir
parentfa13eef3c9edc81c07a47124c2c893a4bb253e58 (diff)
downloadvim-11cb6e6e137afb9e20d68e69bf38d458a96701fd.zip
updated for version 7.3.803
Problem: Substitute with confirmation and then "q" does not replace anything. (John McGowan) Solution: Do not break the loop, skip to the end.
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test80.in13
-rw-r--r--src/testdir/test80.ok4
2 files changed, 16 insertions, 1 deletions
diff --git a/src/testdir/test80.in b/src/testdir/test80.in
index 2decb4dbc..df4afbb1d 100644
--- a/src/testdir/test80.in
+++ b/src/testdir/test80.in
@@ -153,12 +153,23 @@ STARTTEST
:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
a:$put =',,Z'
:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
-yy/^TEST_9
+yy/^TEST_9:
ENDTEST
TEST_9:
STARTTEST
+:set magic&
+:set cpo&
+:$put =\"\n\nTEST_9:\"
+:$put ='xxx'
+:s/x/X/gc
+yyq/^TEST_10:
+ENDTEST
+
+TEST_10:
+
+STARTTEST
:/^Results/,$wq! test.out
ENDTEST
diff --git a/src/testdir/test80.ok b/src/testdir/test80.ok
index 775d98531..b08d3036f 100644
--- a/src/testdir/test80.ok
+++ b/src/testdir/test80.ok
@@ -105,3 +105,7 @@ TEST_8:
N,,NX
N,,NY
N,,NZ
+
+
+TEST_9:
+XXx