summaryrefslogtreecommitdiff
path: root/src/testdir/test95.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-26 14:32:05 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-26 14:32:05 +0200
commit3f1682e808d690e2ba01640784fd8832adf533ab (patch)
tree5759f286ab41386565149656441ff4aa5aa525ed /src/testdir/test95.in
parentfdb6dc11054c26c220ecce5b21d6b2c41ed652ce (diff)
downloadvim-3f1682e808d690e2ba01640784fd8832adf533ab.zip
updated for version 7.3.1021
Problem: New regexp engine does not ignore order of composing chars. Solution: Ignore composing chars order.
Diffstat (limited to 'src/testdir/test95.in')
-rw-r--r--src/testdir/test95.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/testdir/test95.in b/src/testdir/test95.in
index 9c3ca8f1d..0f678794e 100644
--- a/src/testdir/test95.in
+++ b/src/testdir/test95.in
@@ -9,6 +9,7 @@ STARTTEST
:so mbyte.vim
:set nocp encoding=utf-8 viminfo+=nviminfo nomore
:" tl is a List of Lists with:
+:" 2: test auto/old/new 0: test auto/old 1: test auto/new
:" regexp pattern
:" text to test the pattern on
:" expected match (optional)
@@ -40,10 +41,14 @@ STARTTEST
:call add(tl, [2, ".\u05b9", " x\u05b9 ", "x\u05b9"])
:call add(tl, [2, "\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
:call add(tl, [2, ".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
-:"call add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb "])
-:"call add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb "])
+:call add(tl, [2, "\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
+:call add(tl, [2, ".\u05bb\u05b9", " x\u05b9\u05bb ", "x\u05b9\u05bb"])
:call add(tl, [2, "\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
:call add(tl, [2, ".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"])
+:call add(tl, [2, "\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
+:call add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
+:call add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
+:call add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
:"""" Test \Z
@@ -74,7 +79,7 @@ STARTTEST
: let text = t[2]
: let matchidx = 3
: for engine in [0, 1, 2]
-: if engine == 2 && !re
+: if engine == 2 && re == 0 || engine == 1 && re == 1
: continue
: endif
: let &regexpengine = engine