diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-24 21:03:06 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-24 21:03:06 +0100 |
commit | ebbf7d0353d9d5d3ecc42bddd50e270ba60e5243 (patch) | |
tree | 6e31f73ca717103a0e99943b90358b6574665049 /test | |
parent | 93a046a78f0ab20af54812f28784d555fda2d38d (diff) | |
download | ale-ebbf7d0353d9d5d3ecc42bddd50e270ba60e5243.zip |
#1428 Show multiline hover messages, and document the new command
Diffstat (limited to 'test')
-rw-r--r-- | test/test_hover.vader | 6 |
1 files changed, 3 insertions, 3 deletions
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() |