summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-11-21 20:12:09 +0000
committerw0rp <devw0rp@gmail.com>2020-11-21 20:12:09 +0000
commita139599d3938b2f4fa5c8a97d3280b5f4f859321 (patch)
tree2a530375428d4ee05da7cceaae11885be6d2d32b /test
parent06e7f2195ef6375be32a63f98b5e46070708a315 (diff)
downloadale-a139599d3938b2f4fa5c8a97d3280b5f4f859321.zip
Close #2727 - Add a hover-only setting for balloons
Diffstat (limited to 'test')
-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,