May make the tests less flaky

This commit is contained in:
Ben Jackson 2019-07-24 16:13:18 +01:00
commit 7813f06dd1
5 changed files with 10 additions and 2 deletions

View file

@ -141,7 +141,7 @@ endfunction
function Test_StopAtEntry()
lcd testdata/cpp/simple
edit simple.cpp
call setpos( '.', [ 0, 15, 1 ] )
call setpos( '.', [ 0, 1, 1 ] )
" Test stopAtEntry behaviour
call feedkeys( "\<F5>", 'xt' )
@ -214,6 +214,9 @@ function Test_DisableBreakpointWhileDebugging()
call WaitForAssert( {->
\ assert_true ( pyxeval( '_vimspector_session._connection is None' ) )
\ } )
call WaitForAssert( {->
\ assert_true( pyxeval( '_vimspector_session._uiTab is None' ) )
\ } )
" Check breakpoint is now a user breakpoint
call setpos( '.', [ bufnr( 'simple.cpp' ), 1, 1 ] )