forked from VimPlug/jedi-vim
signatures disabled tests
This commit is contained in:
1 parent
39eba902c4
commit
b618e5b863
1 file changed
+11
@@ -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