mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
Fix some comments in signature test
This commit is contained in:
@@ -47,16 +47,13 @@ describe 'signatures'
|
|||||||
it 'highlights correct argument'
|
it 'highlights correct argument'
|
||||||
noautocmd normal o
|
noautocmd normal o
|
||||||
doautocmd CursorHoldI
|
doautocmd CursorHoldI
|
||||||
noautocmd normal iformat(42, 2)
|
noautocmd normal iformat(42, "x")
|
||||||
" Move to "=" - hightlights "sep=...".
|
" Move to x- hightlights "x".
|
||||||
noautocmd normal h
|
noautocmd normal 2h
|
||||||
doautocmd CursorHoldI
|
doautocmd CursorHoldI
|
||||||
Expect getline(1) == '?!?jedi=0, ?!? (value: object, *_*format_spec: str=...*_*) ?!?jedi?!?'
|
Expect getline(1) == '?!?jedi=0, ?!? (value: object, *_*format_spec: str=...*_*) ?!?jedi?!?'
|
||||||
" Move left to "=" - hightlights first argument ("values").
|
" Move left to 42 - hightlights first argument ("value").
|
||||||
" NOTE: it is arguable that maybe "sep=..." should be highlighted
|
noautocmd normal 4h
|
||||||
" still, but this tests for the cache to be "busted", and that
|
|
||||||
" fresh results are retrieved from Jedi.
|
|
||||||
noautocmd normal 3h
|
|
||||||
doautocmd CursorHoldI
|
doautocmd CursorHoldI
|
||||||
Expect getline(1) == '?!?jedi=0, ?!? (*_*value: object*_*, format_spec: str=...) ?!?jedi?!?'
|
Expect getline(1) == '?!?jedi=0, ?!? (*_*value: object*_*, format_spec: str=...) ?!?jedi?!?'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user