forked from VimPlug/jedi-vim
test call signatures
This commit is contained in:
@@ -12,12 +12,17 @@ describe 'signatures'
|
||||
|
||||
it 'simple'
|
||||
normal ostr(
|
||||
" equals doautocmd CursorMovedI
|
||||
Python jedi_vim.show_call_signatures()
|
||||
|
||||
"doautocmd CursorMovedI
|
||||
Expect getline(1) == '≡jedi=0, ≡ (*obj*) ≡jedi≡'
|
||||
|
||||
Expect getline(1) == 'a'
|
||||
|
||||
"doautocmd InsertLeave
|
||||
doautocmd InsertLeave
|
||||
Expect getline(1) == ''
|
||||
end
|
||||
it 'no signature'
|
||||
normal ostr
|
||||
Python jedi_vim.show_call_signatures()
|
||||
Expect getline(1, '$') == ['', 'str ']
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user