mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-25 21:51:08 +08:00
30 lines
744 B
VimL
30 lines
744 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
|
|
DelimitMateReload
|
|
|
|
" Issue #95
|
|
let b:delimitMate_jump_expansion = 1
|
|
DelimitMateReload
|
|
call DMTest_pairs('', "( test)x", '( test )x')
|
|
|
|
let delimitMate_expand_inside_quotes = 1
|
|
DelimitMateReload
|
|
|
|
call DMTest_quotes('', "' x", "' x '")
|
|
|
|
call vimtest#Quit()
|