diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-26 21:54:11 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-26 21:54:11 +0100 |
commit | d8d09c2048a72a6205bcf1c5069f7016a3a6261e (patch) | |
tree | d0ed19abb3431df392c9b0fcfc3120c98acd0372 /test/lsp/test_lsp_client_messages.vader | |
parent | e6fe2d86b8bbdcc5a5d27bd4ac30fd30c8cc62ee (diff) | |
download | ale-d8d09c2048a72a6205bcf1c5069f7016a3a6261e.zip |
Close #1428 Implement LSP hover-like functionality for tsserver too
Diffstat (limited to 'test/lsp/test_lsp_client_messages.vader')
-rw-r--r-- | test/lsp/test_lsp_client_messages.vader | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/lsp/test_lsp_client_messages.vader b/test/lsp/test_lsp_client_messages.vader index d186f5e4..89a29c8f 100644 --- a/test/lsp/test_lsp_client_messages.vader +++ b/test/lsp/test_lsp_client_messages.vader @@ -275,3 +275,16 @@ Execute(ale#lsp#tsserver_message#References() should return correct messages): \ } \ ], \ ale#lsp#tsserver_message#References(bufnr(''), 347, 12) + +Execute(ale#lsp#tsserver_message#Quickinfo() should return correct messages): + AssertEqual + \ [ + \ 0, + \ 'ts@quickinfo', + \ { + \ 'file': ale#path#Simplify(g:dir . '/foo/bar.ts'), + \ 'line': 347, + \ 'offset': 12, + \ } + \ ], + \ ale#lsp#tsserver_message#Quickinfo(bufnr(''), 347, 12) |