mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
signatures disabled tests
This commit is contained in:
@@ -20,9 +20,20 @@ describe 'signatures'
|
|||||||
doautocmd InsertLeave
|
doautocmd InsertLeave
|
||||||
Expect getline(1) == ''
|
Expect getline(1) == ''
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'no signature'
|
it 'no signature'
|
||||||
normal ostr
|
normal ostr
|
||||||
Python jedi_vim.show_call_signatures()
|
Python jedi_vim.show_call_signatures()
|
||||||
Expect getline(1, '$') == ['', 'str ']
|
Expect getline(1, '$') == ['', 'str ']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'signatures disabled'
|
||||||
|
let g:jedi#show_signatures = 0
|
||||||
|
|
||||||
|
normal ostr(
|
||||||
|
Python jedi_vim.show_call_signatures()
|
||||||
|
Expect getline(1, '$') == ['', 'str( ']
|
||||||
|
|
||||||
|
let g:jedi#show_signatures = 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user