summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorJerko Steiner <jerko.steiner@gmail.com>2019-09-20 13:05:00 +0700
committerJerko Steiner <jerko.steiner@gmail.com>2019-09-20 13:11:16 +0700
commitf5e44415e8b97c7fc2553297315cc86565effcfe (patch)
treef386b27108574fcc20cadcf3044bb9adfcc96483 /test/completion
parente3784c4c4ebb86bc0cdac3652b4f7e4b38ac554e (diff)
downloadale-f5e44415e8b97c7fc2553297315cc86565effcfe.zip
Show description of autoimport action for tsserver
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/test_tsserver_completion_parsing.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/completion/test_tsserver_completion_parsing.vader b/test/completion/test_tsserver_completion_parsing.vader
index 02f287a9..dbb8de32 100644
--- a/test/completion/test_tsserver_completion_parsing.vader
+++ b/test/completion/test_tsserver_completion_parsing.vader
@@ -122,13 +122,13 @@ Execute(Entries without details should be included in the responses):
\ [
\ {
\ 'word': 'abc',
- \ 'menu': '(property) Foo.abc: number',
+ \ 'menu': 'import { def } from "./Foo"; (property) Foo.abc: number',
\ 'info': '',
\ 'kind': 'f',
\ 'icase': 1,
\ 'user_data': json_encode({
\ 'codeActions': [{
- \ 'description': 'abc action',
+ \ 'description': 'import { def } from "./Foo";',
\ 'changes': [],
\ }],
\ }),
@@ -168,7 +168,7 @@ Execute(Entries without details should be included in the responses):
\ {'text': 'number'},
\ ],
\ 'codeActions': [{
- \ 'description': 'abc action',
+ \ 'description': 'import { def } from "./Foo";',
\ 'changes': [],
\ }],
\ },