From a0c85c7ae1be04bcf5850fc88e5e42ab96b518a2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 17 Jun 2013 22:04:38 +0200 Subject: updated for version 7.3.1219 Problem: No test for using []] inside \%[]. Solution: Add a test. --- src/testdir/test64.in | 1 + src/testdir/test64.ok | 3 +++ src/version.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 061f1f1e7d..7c141797db 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -367,6 +367,7 @@ STARTTEST :call add(tl, [2, '\%[bar]x', 'bxx', 'bx']) :call add(tl, [2, '\%[bar]x', 'xxx', 'x']) :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 :call add(tl, [2, 'goo\|go', 'google', 'goo']) diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index 7021d18b59..fa31c8a84c 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -839,6 +839,9 @@ OK 2 - \%[bar]x OK 0 - b\%[[ao]r] OK 1 - 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 1 - goo\|go OK 2 - goo\|go diff --git a/src/version.c b/src/version.c index 09f58715f0..883962daae 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1219, /**/ 1218, /**/ -- cgit v1.2.3