summaryrefslogtreecommitdiff
path: root/test/test_ale_init_au_groups.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-11 22:19:26 +0100
committerw0rp <devw0rp@gmail.com>2017-07-11 22:19:26 +0100
commit7b73204f25dd7778e765009bff05d85c90b5f534 (patch)
treef4498c5e3fce28c85b1eb5d8dd896ce105ad399f /test/test_ale_init_au_groups.vader
parent505d114a68f18cd018e2f92a47b024370bd7dde3 (diff)
downloadale-7b73204f25dd7778e765009bff05d85c90b5f534.zip
Fix #747 - Lint and fix files after they have been been written to disk, not during writing them
Diffstat (limited to 'test/test_ale_init_au_groups.vader')
-rw-r--r--test/test_ale_init_au_groups.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_ale_init_au_groups.vader b/test/test_ale_init_au_groups.vader
index 42dd763e..c20f4f97 100644
--- a/test/test_ale_init_au_groups.vader
+++ b/test/test_ale_init_au_groups.vader
@@ -151,7 +151,7 @@ Execute (g:ale_lint_on_save = 1 should bind no events):
let g:ale_fix_on_save = 0
AssertEqual [
- \ 'BufWritePre * call ale#events#SaveEvent()',
+ \ 'BufWritePost * call ale#events#SaveEvent()',
\], CheckAutocmd('ALERunOnSaveGroup')
Execute (g:ale_lint_on_save = 0 and g:ale_fix_on_save = 1 should bind events):
@@ -159,7 +159,7 @@ Execute (g:ale_lint_on_save = 0 and g:ale_fix_on_save = 1 should bind events):
let g:ale_fix_on_save = 1
AssertEqual [
- \ 'BufWritePre * call ale#events#SaveEvent()',
+ \ 'BufWritePost * call ale#events#SaveEvent()',
\], CheckAutocmd('ALERunOnSaveGroup')
Execute (g:ale_fix_on_save = 1 should bind events even when ALE is disabled):
@@ -168,7 +168,7 @@ Execute (g:ale_fix_on_save = 1 should bind events even when ALE is disabled):
let g:ale_fix_on_save = 1
AssertEqual [
- \ 'BufWritePre * call ale#events#SaveEvent()',
+ \ 'BufWritePost * call ale#events#SaveEvent()',
\], CheckAutocmd('ALERunOnSaveGroup')
Execute (g:ale_echo_cursor = 0 should bind no events):