Use setpos as it is clearer

This commit is contained in:
Ben Jackson 2019-07-21 18:31:55 +01:00
commit 9ea25da1a8

View file

@ -149,9 +149,8 @@ endfunction
function! Test_Use_Mappings_HUMAN()
lcd testdata/cpp/simple
edit simple.cpp
call setpos( '.', [ 0, 15, 1 ] )
15
normal 0
call AssertCursorIsAtLineInBuffer( 'simple.cpp', 15, 1 )
call AssertSignGroupEmptyAtLine( 'VimspectorBP',
@ -207,6 +206,7 @@ endfunction
function Test_StopAtEntry()
lcd testdata/cpp/simple
edit simple.cpp
call setpos( '.', [ 0, 15, 1 ] )
" Test stopAtEntry behaviour
call feedkeys( "\<F5>", 'xt' )