From d8d09c2048a72a6205bcf1c5069f7016a3a6261e Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 26 Apr 2018 21:54:11 +0100 Subject: Close #1428 Implement LSP hover-like functionality for tsserver too --- test/lsp/test_lsp_client_messages.vader | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/lsp') 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) -- cgit v1.2.3