Skip to content

Commit

Permalink
Fix some call signature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Jun 20, 2019
1 parent 636ad08 commit 1a053d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/vspec/goto.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let mapleader = '\'
source plugin/jedi.vim
source test/_utils.vim

describe 'goto simple'
describe 'goto simple:'
before
new
set filetype=python
Expand Down Expand Up @@ -45,7 +45,7 @@ describe 'goto simple'
end


describe 'goto with tabs'
describe 'goto with tabs:'
before
set filetype=python
let g:jedi#use_tabs_not_buffers = 1
Expand Down
4 changes: 2 additions & 2 deletions test/vspec/signatures.vim
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe 'signatures'
doautocmd CursorHoldI
noautocmd normal istr()
doautocmd CursorHoldI
Expect getline(1) == '?!?jedi=0, ?!? (*_*object*_*) ?!?jedi?!?'
Expect getline(1) == '?!?jedi=0, ?!? (*_*o: bytes*_*, encoding: str = ..., errors: str = ...) ?!?jedi?!?'
end

it 'no signature'
Expand All @@ -68,7 +68,7 @@ describe 'signatures'
redir => msg
Python jedi_vim.show_call_signatures()
redir END
Expect msg == "\nstr(object)"
Expect msg == "\nstr((o: bytes, o: object = ...), …)"

redir => msg
doautocmd InsertLeave
Expand Down

0 comments on commit 1a053d2

Please sign in to comment.