Skip to content

Commit

Permalink
fix a few jedi-vim tests that have either broken due to the new jedi …
Browse files Browse the repository at this point in the history
…version or because they were wrong.
  • Loading branch information
davidhalter committed May 5, 2014
1 parent 4e9aa67 commit c32844d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/documentation.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe 'documentation docstrings'

it 'no documentation'
put = 'x = 2'
normal G0K
normal o<ESC>GK
Expect bufname('%') == ''
end
end
Expand Down
8 changes: 4 additions & 4 deletions test/signatures.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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) == ''
Expand All @@ -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

0 comments on commit c32844d

Please sign in to comment.