Add some tests for expand/collapse variables; todo - fails on gdb/linux
This commit is contained in:
parent
9df680089b
commit
97f6dd29a6
8 changed files with 389 additions and 5 deletions
|
|
@ -11,6 +11,12 @@ function! vimspector#test#setup#SetUpWithMappings( mappings ) abort
|
|||
|
||||
" This is a bit of a hack
|
||||
runtime! plugin/**/*.vim
|
||||
|
||||
augroup VimspectorTestSwap
|
||||
au!
|
||||
au SwapExists * let v:swapchoice = 'e'
|
||||
augroup END
|
||||
|
||||
endfunction
|
||||
|
||||
function! vimspector#test#setup#ClearDown() abort
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@ function! vimspector#test#signs#AssertCursorIsAtLineInBuffer( buffer,
|
|||
\ line,
|
||||
\ column ) abort
|
||||
call WaitForAssert( {->
|
||||
\ assert_equal( a:buffer, bufname( '%' ), 'Current buffer' )
|
||||
\ assert_equal( fnamemodify( a:buffer, ':p' ),
|
||||
\ fnamemodify( bufname( '%' ), ':p' ),
|
||||
\ 'Current buffer' )
|
||||
\ }, 10000 )
|
||||
call WaitForAssert( {->
|
||||
\ assert_equal( a:line, line( '.' ), 'Current line' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue