Files
delimitMate/test/expand_space.vim
Israel Chauca Fuentes 6fddbc5568 Add jump_expansion
2017-02-10 19:55:02 -05:00

27 lines
692 B
VimL

" function! DMTest_single(setup, typed, expected[, skip_expr[, todo_expr]])
" - Runs a single test.
" - Add 1 to vimtap#Plan().
"
" function! DMTest_pairs(setup, typed, expected, [skip_expr[, todo_expr]])
" - Runs one test for every pair.
" - Add 7 to vimtap#Plan().
"
" function! DMTest_quotes(setup, typed, expected, [skip_expr[, todo_expr]])
" - Runs one test for every quote.
" - Add 5 to vimtap#Plan().
call vimtest#StartTap()
call vimtap#Plan(12)
let g:delimitMate_expand_space = 1
" Issue #95
let b:delimitMate_jump_expansion = 1
call DMTest_pairs('', "i( test)x", '( test )x')
let delimitMate_expand_inside_quotes = 1
call DMTest_quotes('', "i' x", "' x '")
call vimtest#Quit()