fix a few jedi-vim tests that have either broken due to the new jedi version or because they were wrong.

This commit is contained in:
Dave Halter
2014-05-05 12:17:38 +02:00
parent 4e9aa671a7
commit c32844dfec
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ describe 'documentation docstrings'
it 'no documentation'
put = 'x = 2'
normal G0K
normal o<ESC>GK
Expect bufname('%') == ''
end
end

View File

@@ -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