Reset the tab test more robustly
This commit is contained in:
parent
5837135fee
commit
fd6b353782
1 changed files with 1 additions and 4 deletions
|
|
@ -44,10 +44,7 @@ function! Test_Step_With_Different_Tabpage()
|
||||||
call assert_equal( 'simple.cpp', bufname( '%' ), 'Current buffer' )
|
call assert_equal( 'simple.cpp', bufname( '%' ), 'Current buffer' )
|
||||||
call assert_equal( 1, col( '.' ), 'Current column' )
|
call assert_equal( 1, col( '.' ), 'Current column' )
|
||||||
|
|
||||||
call vimspector#Reset()
|
call vimspector#test#setup#Reset()
|
||||||
call vimspector#ClearBreakpoints()
|
|
||||||
|
|
||||||
call WaitForAssert( {-> assert_notequal( vimspector_tabnr, tabpagenr() ) } )
|
|
||||||
lcd -
|
lcd -
|
||||||
%bwipeout!
|
%bwipeout!
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue