From c32844dfec93569e9e10228703ea535dc70d8b8b Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 5 May 2014 12:17:38 +0200 Subject: [PATCH] fix a few jedi-vim tests that have either broken due to the new jedi version or because they were wrong. --- test/documentation.vim | 2 +- test/signatures.vim | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/documentation.vim b/test/documentation.vim index 86fc8c44..119e3606 100644 --- a/test/documentation.vim +++ b/test/documentation.vim @@ -23,7 +23,7 @@ describe 'documentation docstrings' it 'no documentation' put = 'x = 2' - normal G0K + normal oGK Expect bufname('%') == '' end end diff --git a/test/signatures.vim b/test/signatures.vim index c2e38137..e47f67d3 100644 --- a/test/signatures.vim +++ b/test/signatures.vim @@ -11,11 +11,11 @@ describe 'signatures' end it 'simple' - normal ostr( + normal oabs( " equals doautocmd CursorMovedI Python jedi_vim.show_call_signatures() - Expect getline(1) == '≡jedi=0, ≡ (*obj*) ≡jedi≡' + Expect getline(1) == '≡jedi=0, ≡ (*number*) ≡jedi≡' doautocmd InsertLeave Expect getline(1) == '' @@ -28,12 +28,12 @@ describe 'signatures' end it 'signatures disabled' - let g:jedi#show_signatures = 0 + let g:jedi#show_call_signatures = 0 normal ostr( Python jedi_vim.show_call_signatures() Expect getline(1, '$') == ['', 'str( '] - let g:jedi#show_signatures = 1 + let g:jedi#show_call_signatures = 1 end end