diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-21 13:30:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-21 13:30:21 +0200 |
commit | d2470e9fbefcca31cc17e9588f947acaf708ef7d (patch) | |
tree | 4eefabaaa3473e96e7c8dd916fa232ef3bfb35b7 /src/testdir/test95.in | |
parent | d7a06b1d7134792df3527babe3bbcb38415b1ee9 (diff) | |
download | vim-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.in | 11 |
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 :" |