From acd9182131455f325c083813aa28a2638d365366 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 2 Jan 2021 23:51:07 +0100 Subject: [PATCH] Fix some comments in signature test --- test/vspec/signatures.vim | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/test/vspec/signatures.vim b/test/vspec/signatures.vim index a4b1e72..f6f96c5 100644 --- a/test/vspec/signatures.vim +++ b/test/vspec/signatures.vim @@ -47,16 +47,13 @@ describe 'signatures' it 'highlights correct argument' noautocmd normal o doautocmd CursorHoldI - noautocmd normal iformat(42, 2) - " Move to "=" - hightlights "sep=...". - noautocmd normal h + noautocmd normal iformat(42, "x") + " Move to x- hightlights "x". + noautocmd normal 2h doautocmd CursorHoldI Expect getline(1) == '?!?jedi=0, ?!? (value: object, *_*format_spec: str=...*_*) ?!?jedi?!?' - " Move left to "=" - hightlights first argument ("values"). - " NOTE: it is arguable that maybe "sep=..." should be highlighted - " still, but this tests for the cache to be "busted", and that - " fresh results are retrieved from Jedi. - noautocmd normal 3h + " Move left to 42 - hightlights first argument ("value"). + noautocmd normal 4h doautocmd CursorHoldI Expect getline(1) == '?!?jedi=0, ?!? (*_*value: object*_*, format_spec: str=...) ?!?jedi?!?' end