Use setpos as it is clearer
This commit is contained in:
parent
0464b456a8
commit
9ea25da1a8
1 changed files with 2 additions and 2 deletions
|
|
@ -149,9 +149,8 @@ endfunction
|
||||||
function! Test_Use_Mappings_HUMAN()
|
function! Test_Use_Mappings_HUMAN()
|
||||||
lcd testdata/cpp/simple
|
lcd testdata/cpp/simple
|
||||||
edit simple.cpp
|
edit simple.cpp
|
||||||
|
call setpos( '.', [ 0, 15, 1 ] )
|
||||||
|
|
||||||
15
|
|
||||||
normal 0
|
|
||||||
call AssertCursorIsAtLineInBuffer( 'simple.cpp', 15, 1 )
|
call AssertCursorIsAtLineInBuffer( 'simple.cpp', 15, 1 )
|
||||||
|
|
||||||
call AssertSignGroupEmptyAtLine( 'VimspectorBP',
|
call AssertSignGroupEmptyAtLine( 'VimspectorBP',
|
||||||
|
|
@ -207,6 +206,7 @@ endfunction
|
||||||
function Test_StopAtEntry()
|
function Test_StopAtEntry()
|
||||||
lcd testdata/cpp/simple
|
lcd testdata/cpp/simple
|
||||||
edit simple.cpp
|
edit simple.cpp
|
||||||
|
call setpos( '.', [ 0, 15, 1 ] )
|
||||||
|
|
||||||
" Test stopAtEntry behaviour
|
" Test stopAtEntry behaviour
|
||||||
call feedkeys( "\<F5>", 'xt' )
|
call feedkeys( "\<F5>", 'xt' )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue