summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-01-18 16:46:32 +0100
committerBram Moolenaar <Bram@vim.org>2015-01-18 16:46:32 +0100
commitef795d1a5bb39a7cc74e7e36075a47afbfa75901 (patch)
treeb6b6a2d8fe4c1cac01a796a61730baee65eafea9 /src/testdir
parent7cbc703fdc7be3b5c0c83afe8362885b920aa132 (diff)
downloadvim-git-ef795d1a5bb39a7cc74e7e36075a47afbfa75901.tar.gz
updated for version 7.4.582v7.4.582
Problem: Can't match "%>80v" properly. (Axel Bender) Solution: Correctly handle ">". (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test64.in4
-rw-r--r--src/testdir/test64.ok3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in
index f2452fc0f..fd19d3af3 100644
--- a/src/testdir/test64.in
+++ b/src/testdir/test64.in
@@ -7,6 +7,7 @@ actually tried.
STARTTEST
:so small.vim
:" tl is a List of Lists with:
+:" regexp engine
:" regexp pattern
:" text to test the pattern on
:" expected match (optional)
@@ -451,6 +452,9 @@ STARTTEST
:"""" Skip adding state twice
:call add(tl, [2, '^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=', "#if FOO", "#if", ' FOO'])
:"
+:""" Test \%V atom
+:call add(tl, [2, '\%>70vGesamt', 'Jean-Michel Charlier & Victor Hubinon\Gesamtausgabe [Salleck] Buck Danny {Jean-Michel Charlier & Victor Hubinon}\Gesamtausgabe', 'Gesamt'])
+:"
:"""" Run the tests
:"
:for t in tl
diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok
index ffc0b5341..92f06ea9f 100644
--- a/src/testdir/test64.ok
+++ b/src/testdir/test64.ok
@@ -1030,6 +1030,9 @@ OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 0 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
OK 1 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
OK 2 - ^\%(\%(^\s*#\s*if\>\|#\s*if\)\)\(\%>1c.*$\)\@=
+OK 0 - \%>70vGesamt
+OK 1 - \%>70vGesamt
+OK 2 - \%>70vGesamt
multi-line tests
OK 0 - ^.\(.\).\_..\1.
OK 1 - ^.\(.\).\_..\1.