updated for version 7.3.1259

Problem:    No test for patch 7.3.1258
Solution:   Add a test entry.
This commit is contained in:
Bram Moolenaar
2013-06-29 12:10:26 +02:00
parent 4d9ae21a34
commit 560c52d32b
3 changed files with 8 additions and 1 deletions

View File

@ -384,6 +384,7 @@ STARTTEST
:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo.com', 'bat']) :call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.com', 'foo.bat/foo.com', 'bat'])
:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat']) :call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<!$', 'foo.bat/foo.bat'])
:call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo.bat', 'bat', 'bat']) :call add(tl, [2, '^.*\.\(.*\)/.\+\(\1\)\@<=$', 'foo.bat/foo.bat', 'foo.bat/foo.bat', 'bat', 'bat'])
:call add(tl, [2, '\\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}', '2013-06-27${0}', '${0}', '0'])
:" :"
:"""" Look-behind with limit :"""" Look-behind with limit
:call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany']) :call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
@ -462,7 +463,7 @@ STARTTEST
:endfor :endfor
:unlet t tl e l :unlet t tl e l
:" :"
:"""""" multi-line tests :"""""" multi-line tests """"""""""""""""""""
:let tl = [] :let tl = []
:" :"
:"""" back references :"""" back references
@ -572,6 +573,7 @@ yeGopA END:"
"ayb20gg/..\%$ "ayb20gg/..\%$
"bybGo"apo"bp:" "bybGo"apo"bp:"
:" :"
:""""" Write the results """""""""""""
:/\%#=1^Results/,$wq! test.out :/\%#=1^Results/,$wq! test.out
ENDTEST ENDTEST

View File

@ -878,6 +878,9 @@ OK 2 - ^.*\.\(.*\)/.\+\(\1\)\@<!$
OK 0 - ^.*\.\(.*\)/.\+\(\1\)\@<=$ OK 0 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
OK 1 - ^.*\.\(.*\)/.\+\(\1\)\@<=$ OK 1 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
OK 2 - ^.*\.\(.*\)/.\+\(\1\)\@<=$ OK 2 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
OK 0 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
OK 1 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
OK 2 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
OK 0 - <\@<=span. OK 0 - <\@<=span.
OK 1 - <\@<=span. OK 1 - <\@<=span.
OK 2 - <\@<=span. OK 2 - <\@<=span.

View File

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