From ef130c4428b12785baeb399014aa79dd1cb4267b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 22 Apr 2018 22:00:25 +0100 Subject: #1428 Start implementing LSP hover support --- test/lsp/test_lsp_client_messages.vader | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/lsp/test_lsp_client_messages.vader') 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 \ [ -- cgit v1.2.3