summaryrefslogtreecommitdiff
path: root/src/testdir/test95.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-21 13:30:21 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-21 13:30:21 +0200
commitd2470e9fbefcca31cc17e9588f947acaf708ef7d (patch)
tree4eefabaaa3473e96e7c8dd916fa232ef3bfb35b7 /src/testdir/test95.in
parentd7a06b1d7134792df3527babe3bbcb38415b1ee9 (diff)
downloadvim-d2470e9fbefcca31cc17e9588f947acaf708ef7d.zip
updated for version 7.3.987
Problem: No easy to run an individual test. Tests 64 fails when 'encoding' is not utf-8. Solution: Add individual test targets to the Makefile. Move some lines from test 64 to 95.
Diffstat (limited to 'src/testdir/test95.in')
-rw-r--r--src/testdir/test95.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/testdir/test95.in b/src/testdir/test95.in
index ed90bb7c3..7185c8ecb 100644
--- a/src/testdir/test95.in
+++ b/src/testdir/test95.in
@@ -7,7 +7,7 @@ actually tried.
STARTTEST
:so small.vim
:so mbyte.vim
-:set encoding=utf-8 viminfo+=nviminfo
+:set nocp encoding=utf-8 viminfo+=nviminfo
:" tl is a List of Lists with:
:" regexp pattern
:" text to test the pattern on
@@ -29,6 +29,15 @@ STARTTEST
:" this is not a normal "i" but 0xec
:call add(tl, ['\p\+', 'ìa', 'ìa'])
+:"""" Test recognition of some character classes
+:call add(tl, ['\i\+', '&*§xx ', 'xx'])
+:call add(tl, ['\%#=1\i\+', '&*§xx ', 'xx'])
+:call add(tl, ['\f\+', '&*Ÿfname ', 'fname'])
+:call add(tl, ['\%#=1\i\+', '&*Ÿfname ', 'fname'])
+
+:"""" Combining different tests and features
+:call add(tl, ['[^[=a=]]\+', 'ddaãâbcd', 'dd'])
+
:"""" Run the tests
:"