Update README
This commit is contained in:
parent
7723d58cf8
commit
f3f458cdc7
2 changed files with 54 additions and 23 deletions
|
|
@ -141,3 +141,29 @@ function! Test_Use_Mappings_HUMAN()
|
|||
%bwipeout!
|
||||
endfunction
|
||||
|
||||
|
||||
function! SetUp_Test_Use_Mappings_HUMAN_ForceMenu()
|
||||
let g:vimspector_enable_mappings = 'HUMAN'
|
||||
endfunction
|
||||
|
||||
function! Test_Use_Mappings_HUMAN_ForceMenu()
|
||||
call ThisTestIsFlaky()
|
||||
lcd testdata/cpp/simple
|
||||
edit simple.cpp
|
||||
call setpos( '.', [ 0, 15, 1 ] )
|
||||
|
||||
" Comma is the leader
|
||||
py3 <<EOF
|
||||
from unittest import mock
|
||||
with mock.patch( 'vimspector.utils.SelectFromList', return_value=1 ) as sfl:
|
||||
vim.eval( 'feedkeys( ",\<F5>", "xt" )' )
|
||||
sfl.assert_called()
|
||||
EOF
|
||||
|
||||
call vimspector#test#signs#AssertCursorIsAtLineInBuffer( 'simple.cpp', 15, 1 )
|
||||
|
||||
call vimspector#test#setup#Reset()
|
||||
|
||||
lcd -
|
||||
%bwipeout!
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue