summaryrefslogtreecommitdiff
path: root/test/test_redundant_tsserver_rendering_avoided.vader
diff options
context:
space:
mode:
authorDalius Dobravolskas <daliusd@wix.com>2020-09-23 16:35:47 +0300
committerDalius Dobravolskas <dalius.dobravolskas@gmail.com>2020-11-21 15:49:42 +0200
commit17c0c3c731ddf543161195fa55b73721a3bf490d (patch)
tree4b4285f54d6aa61b8b3b0e11018103e3024ec2a2 /test/test_redundant_tsserver_rendering_avoided.vader
parentc098a07d67090442164b4bca82ebbedae992bf50 (diff)
downloadale-17c0c3c731ddf543161195fa55b73721a3bf490d.zip
Test fix.
Diffstat (limited to 'test/test_redundant_tsserver_rendering_avoided.vader')
-rw-r--r--test/test_redundant_tsserver_rendering_avoided.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_redundant_tsserver_rendering_avoided.vader b/test/test_redundant_tsserver_rendering_avoided.vader
index 12897da4..bde5d152 100644
--- a/test/test_redundant_tsserver_rendering_avoided.vader
+++ b/test/test_redundant_tsserver_rendering_avoided.vader
@@ -111,7 +111,7 @@ Execute(An initial list of semantic errors should be handled):
Assert g:ale_handle_loclist_called
-Execute(Subsequent empty lists should be ignored):
+Execute(Subsequent empty lists should be ignored - semantic):
let g:ale_buffer_info[bufnr('')].semantic_loclist = []
call ale#lsp_linter#HandleLSPResponse(1, CreateError('semanticDiag', ''))
@@ -139,28 +139,28 @@ Execute(Non-empty then non-empty semantic errors should be handled):
Assert g:ale_handle_loclist_called
-Execute(Subsequent empty lists should be ignored):
- let g:ale_buffer_info[bufnr('')].suggestion_loclist []
+Execute(Subsequent empty lists should be ignored - suggestion):
+ let g:ale_buffer_info[bufnr('')].suggestion_loclist = []
call ale#lsp_linter#HandleLSPResponse(1, CreateError('suggestionDiag', ''))
Assert !g:ale_handle_loclist_called
-Execute(Empty then non-empty semantic errors should be handled):
+Execute(Empty then non-empty suggestion messages should be handled):
let g:ale_buffer_info[bufnr('')].suggestion_loclist = []
call ale#lsp_linter#HandleLSPResponse(1, CreateError('suggestionDiag', 'x'))
Assert g:ale_handle_loclist_called
-Execute(Non-empty then empty semantic errors should be handled):
+Execute(Non-empty then empt suggestion messages should be handled):
let g:ale_buffer_info[bufnr('')].suggestion_loclist = CreateLoclist('x')
call ale#lsp_linter#HandleLSPResponse(1, CreateError('suggestionDiag', ''))
Assert g:ale_handle_loclist_called
-Execute(Non-empty then non-empty semantic errors should be handled):
+Execute(Non-empty then non-empty suggestion messages should be handled):
let g:ale_buffer_info[bufnr('')].suggestion_loclist = CreateLoclist('x')
call ale#lsp_linter#HandleLSPResponse(1, CreateError('suggestionDiag', 'x'))