-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Trying to test a syntax plugin.
Here is the vroom test:
Vroom test for foldcol
Test environment setup.
@system (RELAXED)
> :set nocompatible<CR>
> :set rtp+=$HOME/.vim/bundle/foldcol<CR>
> :runtime! plugin/foldcol.vim<CR>
> :set rtp+=$HOME/.vim/bundle/Align<CR>
> :runtime! plugin/cecutil.vim<CR>
> :runtime! plugin/AlignPlugin.vim<CR>
> :runtime! plugin/AlignMapsPlugin.vim<CR>
> :let b:folds = {}<CR>
Test plugin loaded
> :echomsg g:loaded_foldcol<CR>
~ v3g
Try to fold column with default delimeter
% 111111,222,33333<CR>
% 1,222,333333333333333<CR>
% 1111111111111,2,333
> :FoldCol 2<CR>
111111 , 222 , 33333
1 , 222 , 333333333333333
1111111111111 , 2 , 333
> :redir => b:synfold<CR>
> :silent! syn list FoldCol2<CR>
> :redir END<CR>
> :echomsg "syn:".b:synfold<CR>
~ 1
The first two tests work fine. The last assert in the last test is expected to fail ("~ 1") but it actually passes.
Reactions are currently unavailable