summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-01-30 17:03:30 +0100
committerBram Moolenaar <Bram@vim.org>2013-01-30 17:03:30 +0100
commit8ceb1735a2e845c7987f01a6319775b39c4b0177 (patch)
treece1300939d4df8500624c7123b59d9fa58a8f311
parent4bc8cf0e7c4c1d2c9d99ac8b3c080b50f239406d (diff)
downloadvim-8ceb1735a2e845c7987f01a6319775b39c4b0177.zip
updated for version 7.3.793
Problem: New interactive :substutite behavior is not tested. Solution: Add tests. (Christian Brabandt)
-rw-r--r--src/testdir/test80.in15
-rw-r--r--src/testdir/test80.ok6
-rw-r--r--src/version.c2
3 files changed, 23 insertions, 0 deletions
diff --git a/src/testdir/test80.in b/src/testdir/test80.in
index b49650040..2decb4dbc 100644
--- a/src/testdir/test80.in
+++ b/src/testdir/test80.in
@@ -144,6 +144,21 @@ ENDTEST
TEST_8:
STARTTEST
+:set magic&
+:set cpo&
+:$put =\"\n\nTEST_8:\"
+:$put =',,X'
+:s/\(^\|,\)\ze\(,\|X\)/\1N/g
+:$put =',,Y'
+:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
+a:$put =',,Z'
+:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
+yy/^TEST_9
+ENDTEST
+
+TEST_9:
+
+STARTTEST
:/^Results/,$wq! test.out
ENDTEST
diff --git a/src/testdir/test80.ok b/src/testdir/test80.ok
index fd5b5e778..775d98531 100644
--- a/src/testdir/test80.ok
+++ b/src/testdir/test80.ok
@@ -99,3 +99,9 @@ TEST_7:
A A
B
B
+
+
+TEST_8:
+N,,NX
+N,,NY
+N,,NZ
diff --git a/src/version.c b/src/version.c
index c432491a4..5cd929535 100644
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 793,
+/**/
792,
/**/
791,