summaryrefslogtreecommitdiff
path: root/test/lsp/test_did_save_event.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp/test_did_save_event.vader')
-rw-r--r--test/lsp/test_did_save_event.vader6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/lsp/test_did_save_event.vader b/test/lsp/test_did_save_event.vader
index b696ee4b..428135fb 100644
--- a/test/lsp/test_did_save_event.vader
+++ b/test/lsp/test_did_save_event.vader
@@ -14,7 +14,6 @@ Before:
let g:ale_lsp_next_message_id = 1
let g:ale_run_synchronously = 1
let g:message_list = []
- let g:Callback = ''
function! LanguageCallback() abort
return 'foobar'
@@ -34,9 +33,7 @@ Before:
\ })
let g:ale_linters = {'foobar': ['dummy_linter']}
- function! ale#lsp_linter#StartLSP(buffer, linter, callback) abort
- let g:Callback = a:callback
-
+ function! ale#lsp_linter#StartLSP(buffer, linter) abort
let l:conn = ale#lsp#NewConnection({})
let l:conn.id = 347
let l:conn.open_documents = {a:buffer : -1}
@@ -59,7 +56,6 @@ After:
unlet! b:ale_enabled
unlet! b:ale_linters
- unlet! g:Callback
unlet! g:message_list
delfunction LanguageCallback