summaryrefslogtreecommitdiff
path: root/test/test_hover.vader
diff options
context:
space:
mode:
authortoastal <toastal@protonmail.com>2020-12-21 10:26:09 +0700
committertoastal <toastal@protonmail.com>2020-12-21 10:26:09 +0700
commit9c7e1fe4ddb6729d2518b4102ae203ac00f8bc05 (patch)
tree53cc5b0b1e8036269a13535f6a65542ae40aa72e /test/test_hover.vader
parent42e4b148616981234425b31d2858c62f30e4153d (diff)
parentf996ede5999c99b1b3e3cecc02dbd06cb286d3ff (diff)
downloadale-9c7e1fe4ddb6729d2518b4102ae203ac00f8bc05.zip
merging master
Diffstat (limited to 'test/test_hover.vader')
-rw-r--r--test/test_hover.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_hover.vader b/test/test_hover.vader
index 9689cda2..ed756396 100644
--- a/test/test_hover.vader
+++ b/test/test_hover.vader
@@ -101,7 +101,7 @@ Execute(tsserver quickinfo responses will null missing bodies should be handled)
AssertEqual {}, ale#hover#GetMap()
Execute(tsserver quickinfo displayString values should be displayed):
- call ale#hover#SetMap({3: {}})
+ call ale#hover#SetMap({3: {'buffer': bufnr('')}})
call ale#hover#HandleTSServerResponse(
\ 1,
\ {
@@ -169,7 +169,7 @@ Execute(LSP hover response with lists of strings and marked strings should be ha
AssertEqual {}, ale#hover#GetMap()
Execute(tsserver responses for documentation requests should be handled):
- call ale#hover#SetMap({3: {'show_documentation': 1}})
+ call ale#hover#SetMap({3: {'show_documentation': 1, 'buffer': bufnr('')}})
call ale#hover#HandleTSServerResponse(
\ 1,