Fix some call signature tests

This commit is contained in:
Dave Halter
2019-06-20 23:37:43 +02:00
parent 636ad08d32
commit 1a053d2a23
2 changed files with 4 additions and 4 deletions

View File

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

View File

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