summaryrefslogtreecommitdiff
path: root/test/test_alelint_autocmd.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-10-29 18:28:28 +0000
committerw0rp <devw0rp@gmail.com>2018-10-29 18:28:28 +0000
commitcaac5c93d658c8ad05786194156a321e016d5ba0 (patch)
tree331f42c17491125fddacbbb33f60a3b3258da0ad /test/test_alelint_autocmd.vader
parent2846e862178e9a16e078799c28aa9d9d4a2ea505 (diff)
downloadale-caac5c93d658c8ad05786194156a321e016d5ba0.zip
#2017 Add support for display results from other sources
Diffstat (limited to 'test/test_alelint_autocmd.vader')
-rw-r--r--test/test_alelint_autocmd.vader11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/test_alelint_autocmd.vader b/test/test_alelint_autocmd.vader
index 9a7a6a43..332cb36f 100644
--- a/test/test_alelint_autocmd.vader
+++ b/test/test_alelint_autocmd.vader
@@ -9,10 +9,11 @@ After:
let g:ale_run_synchronously = 0
let g:ale_buffer_info = {}
- try
- augroup! VaderTest
- catch
- endtry
+ augroup VaderTest
+ autocmd!
+ augroup END
+
+ augroup! VaderTest
Given testft(An empty file):
Execute(Run a lint cycle, and check that a variable is set in the autocmd):
@@ -20,7 +21,7 @@ Execute(Run a lint cycle, and check that a variable is set in the autocmd):
autocmd!
autocmd User ALELintPre let g:pre_success = 1
autocmd User ALELintPost let g:post_success = 1
- augroup end
+ augroup END
call ale#Queue(0)