signatures disabled tests

This commit is contained in:
David Halter
2013-08-28 20:36:27 +04:30
parent 39eba902c4
commit b618e5b863

View File

@@ -20,9 +20,20 @@ describe 'signatures'
doautocmd InsertLeave
Expect getline(1) == ''
end
it 'no signature'
normal ostr
Python jedi_vim.show_call_signatures()
Expect getline(1, '$') == ['', 'str ']
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