Hi, I found some problems in the test95.
1. The test waits a user's input because "set nomore" is missing. 2. The test fails on Windows because \i matches ยง (0xa7). The default value of 'isident' is different on Windows. 3. There are three tests using \i in the test95, but the last one should be \f. Thanks, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
diff --git a/src/testdir/test95.in b/src/testdir/test95.in --- a/src/testdir/test95.in +++ b/src/testdir/test95.in @@ -7,7 +7,7 @@ STARTTEST :so small.vim :so mbyte.vim -:set nocp encoding=utf-8 viminfo+=nviminfo +:set nocp encoding=utf-8 viminfo+=nviminfo nomore :" tl is a List of Lists with: :" regexp pattern :" text to test the pattern on @@ -30,10 +30,10 @@ :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, ['\i\+', '&*?xx ', 'xx']) +:call add(tl, ['\%#=1\i\+', '&*?xx ', 'xx']) :call add(tl, ['\f\+', '&*?fname ', 'fname']) -:call add(tl, ['\%#=1\i\+', '&*?fname ', 'fname']) +:call add(tl, ['\%#=1\f\+', '&*?fname ', 'fname']) :"""" Combining different tests and features :call add(tl, ['[^[=a=]]\+', 'dda??bcd', 'dd']) diff --git a/src/testdir/test95.ok b/src/testdir/test95.ok --- a/src/testdir/test95.ok +++ b/src/testdir/test95.ok @@ -8,5 +8,5 @@ OK - \i\+ OK - \%#=1\i\+ OK - \f\+ -OK - \%#=1\i\+ +OK - \%#=1\f\+ OK - [^[=a=]]\+
