mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.3.1219
Problem: No test for using []] inside \%[]. Solution: Add a test.
This commit is contained in:
@@ -367,6 +367,7 @@ STARTTEST
|
|||||||
:call add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
|
:call add(tl, [2, '\%[bar]x', 'bxx', 'bx'])
|
||||||
:call add(tl, [2, '\%[bar]x', 'xxx', 'x'])
|
:call add(tl, [2, '\%[bar]x', 'xxx', 'x'])
|
||||||
:call add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
|
:call add(tl, [2, 'b\%[[ao]r]', 'bar bor', 'bar'])
|
||||||
|
:call add(tl, [2, 'b\%[[]]r]', 'b]r bor', 'b]r'])
|
||||||
:"
|
:"
|
||||||
:"""" Alternatives, must use first longest match
|
:"""" Alternatives, must use first longest match
|
||||||
:call add(tl, [2, 'goo\|go', 'google', 'goo'])
|
:call add(tl, [2, 'goo\|go', 'google', 'goo'])
|
||||||
|
@@ -839,6 +839,9 @@ OK 2 - \%[bar]x
|
|||||||
OK 0 - b\%[[ao]r]
|
OK 0 - b\%[[ao]r]
|
||||||
OK 1 - b\%[[ao]r]
|
OK 1 - b\%[[ao]r]
|
||||||
OK 2 - b\%[[ao]r]
|
OK 2 - b\%[[ao]r]
|
||||||
|
OK 0 - b\%[[]]r]
|
||||||
|
OK 1 - b\%[[]]r]
|
||||||
|
OK 2 - b\%[[]]r]
|
||||||
OK 0 - goo\|go
|
OK 0 - goo\|go
|
||||||
OK 1 - goo\|go
|
OK 1 - goo\|go
|
||||||
OK 2 - goo\|go
|
OK 2 - goo\|go
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
1219,
|
||||||
/**/
|
/**/
|
||||||
1218,
|
1218,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user