diff options
author | w0rp <devw0rp@gmail.com> | 2018-05-28 15:16:15 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-05-28 15:16:15 +0100 |
commit | 3c55cb087d4f48b16e05c6f60e70a12442003a12 (patch) | |
tree | f8a0ce4d11e4e508e710ede0d702104b88614dd6 /test/completion/test_lsp_completion_messages.vader | |
parent | ef1ec5341f9360085bede74bba25cf8bc5190a5f (diff) | |
download | ale-3c55cb087d4f48b16e05c6f60e70a12442003a12.zip |
Close #1553 - Support some tsserver completion for strings
Diffstat (limited to 'test/completion/test_lsp_completion_messages.vader')
-rw-r--r-- | test/completion/test_lsp_completion_messages.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/completion/test_lsp_completion_messages.vader b/test/completion/test_lsp_completion_messages.vader index af3aa8c0..734b330c 100644 --- a/test/completion/test_lsp_completion_messages.vader +++ b/test/completion/test_lsp_completion_messages.vader @@ -41,6 +41,7 @@ After: unlet! b:ale_completion_parser unlet! b:ale_complete_done_time unlet! b:ale_linters + unlet! b:ale_tsserver_completion_names call ale#test#RestoreDirectory() call ale#linter#Reset() @@ -112,6 +113,12 @@ Execute(The right message sent to the tsserver LSP when the first completion mes \ ], \}) + " We should save the names we got in the buffer, as TSServer doesn't return + " details for every name. + AssertEqual + \ ['Foo', 'FooBar', 'frazzle'], + \ get(b:, 'ale_tsserver_completion_names', []) + " The entry details messages should have been sent. AssertEqual \ [[ |