mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
test call signatures
This commit is contained in:
@@ -12,12 +12,17 @@ describe 'signatures'
|
|||||||
|
|
||||||
it 'simple'
|
it 'simple'
|
||||||
normal ostr(
|
normal ostr(
|
||||||
|
" equals doautocmd CursorMovedI
|
||||||
Python jedi_vim.show_call_signatures()
|
Python jedi_vim.show_call_signatures()
|
||||||
|
|
||||||
"doautocmd CursorMovedI
|
Expect getline(1) == '≡jedi=0, ≡ (*obj*) ≡jedi≡'
|
||||||
|
|
||||||
Expect getline(1) == 'a'
|
doautocmd InsertLeave
|
||||||
|
Expect getline(1) == ''
|
||||||
"doautocmd InsertLeave
|
end
|
||||||
|
it 'no signature'
|
||||||
|
normal ostr
|
||||||
|
Python jedi_vim.show_call_signatures()
|
||||||
|
Expect getline(1, '$') == ['', 'str ']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user