1
0
forked from aniani/vim

updated for version 7.3.793

Problem:    New interactive :substutite behavior is not tested.
Solution:   Add tests. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-01-30 17:03:30 +01:00
parent 4bc8cf0e7c
commit 8ceb1735a2
3 changed files with 23 additions and 0 deletions

View File

@@ -143,6 +143,21 @@ ENDTEST
TEST_7:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_7:\"
:$put =substitute('A
A', 'A.', '\=submatch(0)', '')
:$put =substitute(\"B\nB\", 'B.', '\=submatch(0)', '')
/^TEST_8
ENDTEST
TEST_8:
STARTTEST
:set magic&
:set cpo&
:$put =\"\n\nTEST_8:\"
:$put =',,X'
:s/\(^\|,\)\ze\(,\|X\)/\1N/g
:$put =',,Y'

View File

@@ -99,3 +99,9 @@ TEST_7:
k
l
l
TEST_5:
A123456789987654321

View File

@@ -725,6 +725,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
793,
/**/
792,
/**/