diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-22 22:00:25 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-22 22:00:25 +0100 |
commit | ef130c4428b12785baeb399014aa79dd1cb4267b (patch) | |
tree | 3f7dc015ee1c0380740be91fb7ecc93b8f867224 /test/lsp/test_lsp_client_messages.vader | |
parent | 0b3ee11546952f11bcfa56ea58b28d99f19ab3a3 (diff) | |
download | ale-ef130c4428b12785baeb399014aa79dd1cb4267b.zip |
#1428 Start implementing LSP hover support
Diffstat (limited to 'test/lsp/test_lsp_client_messages.vader')
-rw-r--r-- | test/lsp/test_lsp_client_messages.vader | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lsp/test_lsp_client_messages.vader b/test/lsp/test_lsp_client_messages.vader index b0f0ed2b..d186f5e4 100644 --- a/test/lsp/test_lsp_client_messages.vader +++ b/test/lsp/test_lsp_client_messages.vader @@ -159,6 +159,20 @@ Execute(ale#lsp#message#References() should return correct messages): \ ], \ ale#lsp#message#References(bufnr(''), 12, 34) +Execute(ale#lsp#message#Hover() should return correct messages): + AssertEqual + \ [ + \ 0, + \ 'textDocument/hover', + \ { + \ 'textDocument': { + \ 'uri': ale#path#ToURI(g:dir . '/foo/bar.ts'), + \ }, + \ 'position': {'line': 11, 'character': 34}, + \ } + \ ], + \ ale#lsp#message#Hover(bufnr(''), 12, 34) + Execute(ale#lsp#tsserver_message#Open() should return correct messages): AssertEqual \ [ |