summaryrefslogtreecommitdiff
path: root/src/testdir/test95.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-08-11 18:33:48 +0200
committerBram Moolenaar <Bram@vim.org>2015-08-11 18:33:48 +0200
commit901e58c243ef4363bb2c13b2c96c7b0acd45e6d1 (patch)
tree35830887620bf4453501c7606f7a375d0988032a /src/testdir/test95.in
parent89c17c02cac7594c6bb85900d73b1dc70aa78306 (diff)
downloadvim-git-901e58c243ef4363bb2c13b2c96c7b0acd45e6d1.tar.gz
patch 7.4.819v7.4.819
Problem: Beeping when running the tests. Solution: Fix 41 beeps. (Roland Eggner)
Diffstat (limited to 'src/testdir/test95.in')
-rw-r--r--src/testdir/test95.in22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/testdir/test95.in b/src/testdir/test95.in
index 9fac4d27d..934afdec1 100644
--- a/src/testdir/test95.in
+++ b/src/testdir/test95.in
@@ -18,7 +18,7 @@ STARTTEST
:" etc.
:" When there is no match use only the first two items.
:let tl = []
-
+:
:"""" Multi-byte character tests. These will fail unless vim is compiled
:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
:call add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
@@ -26,15 +26,15 @@ STARTTEST
:call add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oijasoifjos'])
:call add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
:call add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna'])
-
+:
:" this is not a normal "i" but 0xec
:call add(tl, [2, '\p\+', 'ìa', 'ìa'])
:call add(tl, [2, '\p*', 'aあ', 'aあ'])
-
+:
:"""" Test recognition of some character classes
:call add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
:call add(tl, [2, '\f\+', '&*Ÿfname ', 'fname'])
-
+:
:"""" Test composing character matching
:call add(tl, [2, '.ม', 'xม่x yมy', 'yม'])
:call add(tl, [2, '.ม่', 'xม่x yมy', 'xม่'])
@@ -56,8 +56,8 @@ STARTTEST
:call add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
:call add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
:call add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
-
-
+:
+:
:"""" Test \Z
:call add(tl, [2, 'ú\Z', 'x'])
:call add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
@@ -75,12 +75,12 @@ STARTTEST
:call add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
:call add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
:call add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
-
+:
:"""" Combining different tests and features
:call add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
-
+:
:"""" Run the tests
-
+:
:"
:for t in tl
: let re = t[0]
@@ -124,7 +124,7 @@ STARTTEST
: endfor
:endfor
:unlet t tl e l
-
+:
:" check that 'ambiwidth' does not change the meaning of \p
:set regexpengine=1 ambiwidth=single
:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
@@ -134,7 +134,7 @@ STARTTEST
:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
:set regexpengine=2 ambiwidth=double
:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
-
+:
:/\%#=1^Results/,$wq! test.out
ENDTEST