mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
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:
@@ -23,7 +23,7 @@ describe 'documentation docstrings'
|
||||
|
||||
it 'no documentation'
|
||||
put = 'x = 2'
|
||||
normal G0K
|
||||
normal o<ESC>GK
|
||||
Expect bufname('%') == ''
|
||||
end
|
||||
end
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user