summaryrefslogtreecommitdiff
path: root/test/test_alelint_autocmd.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-06 09:54:17 +0100
committerw0rp <devw0rp@gmail.com>2017-06-06 09:54:17 +0100
commitfcc17dffbe1bbdc73d60e962477f3edadfdf573d (patch)
treed4c2b2277ea3a42e90540c0dc31d153184ae8846 /test/test_alelint_autocmd.vader
parent02ac28dbe6ae2b60d359d601c20f9f7f532a49f6 (diff)
downloadale-fcc17dffbe1bbdc73d60e962477f3edadfdf573d.zip
Fix a test
Diffstat (limited to 'test/test_alelint_autocmd.vader')
-rw-r--r--test/test_alelint_autocmd.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_alelint_autocmd.vader b/test/test_alelint_autocmd.vader
index 22fe1935..eeb74ee5 100644
--- a/test/test_alelint_autocmd.vader
+++ b/test/test_alelint_autocmd.vader
@@ -1,11 +1,15 @@
Before:
let g:success = 0
+ let g:ale_run_synchronously = 1
+
augroup VaderTest
autocmd!
autocmd User ALELint let g:success = 1
augroup end
After:
+ let g:ale_run_synchronously = 0
+
augroup! VaderTest
let g:ale_buffer_info = {}