summaryrefslogtreecommitdiff
path: root/test/sign/test_linting_sets_signs.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/sign/test_linting_sets_signs.vader')
-rw-r--r--test/sign/test_linting_sets_signs.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sign/test_linting_sets_signs.vader b/test/sign/test_linting_sets_signs.vader
index 3ccecf45..a8d5761f 100644
--- a/test/sign/test_linting_sets_signs.vader
+++ b/test/sign/test_linting_sets_signs.vader
@@ -13,6 +13,7 @@ Before:
let g:ale_buffer_info = {}
let g:ale_run_synchronously = 1
+ unlet! g:ale_run_synchronously_callbacks
let g:ale_set_signs = 1
" Disable features we don't need for these tests.
let g:ale_set_quickfix = 0
@@ -58,10 +59,12 @@ After:
delfunction TestCallback
delfunction CollectSigns
+ unlet! g:ale_run_synchronously_callbacks
sign unplace *
call ale#linter#Reset()
Execute(The signs should be updated after linting is done):
ALELint
+ call ale#test#FlushJobs()
AssertEqual [['1', 'ALEWarningSign'], ['2', 'ALEErrorSign']], CollectSigns()