From ebbf7d0353d9d5d3ecc42bddd50e270ba60e5243 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 24 Apr 2018 21:03:06 +0100 Subject: #1428 Show multiline hover messages, and document the new command --- test/test_hover.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_hover.vader') diff --git a/test/test_hover.vader b/test/test_hover.vader index 57734b4e..3018249d 100644 --- a/test/test_hover.vader +++ b/test/test_hover.vader @@ -26,7 +26,7 @@ Before: return 42 endfunction - function! ale#util#Echo(string) abort + function! ale#util#ShowMessage(string) abort call add(g:echo_list, a:string) endfunction @@ -94,7 +94,7 @@ Execute(LSP hover response with lists of strings should be handled): \ "bar\n", \]}) - AssertEqual ['foo bar'], g:echo_list + AssertEqual ["foo\n\nbar\n"], g:echo_list AssertEqual {}, ale#hover#GetMap() Execute(LSP hover response with lists of strings and marked strings should be handled): @@ -103,5 +103,5 @@ Execute(LSP hover response with lists of strings and marked strings should be ha \ "bar\n", \]}) - AssertEqual ['foo bar'], g:echo_list + AssertEqual ["foo\nbar\n"], g:echo_list AssertEqual {}, ale#hover#GetMap() -- cgit v1.2.3