changeset 5031:7ab94cb688be v7.3.1259

updated for version 7.3.1259 Problem: No test for patch 7.3.1258 Solution: Add a test entry.
author Bram Moolenaar <bram@vim.org>
date Sat, 29 Jun 2013 12:10:26 +0200
parents ed4edcdeff2b
children 61316c2b4a04
files src/testdir/test64.in src/testdir/test64.ok src/version.c
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test64.in
+++ b/src/testdir/test64.in
@@ -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.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
 :call add(tl, [2, '<\@<=span.', 'xxspanxx<spanyyy', 'spany'])
@@ -462,7 +463,7 @@ STARTTEST
 :endfor
 :unlet t tl e l
 :"
-:"""""" multi-line tests
+:"""""" multi-line tests """"""""""""""""""""
 :let tl = []
 :"
 :"""" back references
@@ -572,6 +573,7 @@ 50%/\%$
 "ayb20gg/..\%$
 "bybGo"apo"bp:"
 :"
+:""""" Write the results """""""""""""
 :/\%#=1^Results/,$wq! test.out
 ENDTEST
 
--- a/src/testdir/test64.ok
+++ b/src/testdir/test64.ok
@@ -878,6 +878,9 @@ OK 2 - ^.*\.\(.*\)/.\+\(\1\)\@<!$
 OK 0 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
 OK 1 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
 OK 2 - ^.*\.\(.*\)/.\+\(\1\)\@<=$
+OK 0 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
+OK 1 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
+OK 2 - \\\@<!\${\(\d\+\%(:.\{-}\)\?\\\@<!\)}
 OK 0 - <\@<=span.
 OK 1 - <\@<=span.
 OK 2 - <\@<=span.
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1259,
+/**/
     1258,
 /**/
     1257,