Mercurial > vim
diff src/testdir/test95.in @ 4478:032c9f916f25 v7.3.987
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 May 2013 13:30:21 +0200 |
parents | 3cc2dca142a0 |
children | 8cb14f59a327 |
line wrap: on
line diff
--- 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 :"