From b618e5b8630eb0c1cd835ceeeb620c98bf1abe3e Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 28 Aug 2013 20:36:27 +0430 Subject: [PATCH] signatures disabled tests --- test/signatures.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/signatures.vim b/test/signatures.vim index 102a343..c2e3813 100644 --- a/test/signatures.vim +++ b/test/signatures.vim @@ -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