Add test
This commit is contained in:
parent
d81bdf30ef
commit
0bb8416e11
1 changed files with 15 additions and 0 deletions
|
|
@ -409,3 +409,18 @@ function! Test_CustomWinBar()
|
|||
call vimspector#test#setup#Reset()
|
||||
%bwipe!
|
||||
endfunction
|
||||
|
||||
function! Test_VimspectorFrameWasSet()
|
||||
augroup TestVimspectorFrameWasSet
|
||||
au!
|
||||
au User VimspectorFrameWasSet let b:vimspectorStepIsThere = 'foo'
|
||||
augroup END
|
||||
|
||||
call s:StartDebugging()
|
||||
call assert_equal( 'foo', getbufvar(bufnr(), 'vimspectorStepIsThere', 0) )
|
||||
|
||||
au! TestVimspectorFrameWasSet
|
||||
unlet b:vimspectorStepIsThere
|
||||
call vimspector#test#setup#Reset()
|
||||
%bwipe!
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue