summaryrefslogtreecommitdiff
path: root/test/test_no_linting_on_write_quit.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-13 13:44:29 +0100
committerw0rp <devw0rp@gmail.com>2019-05-13 13:44:29 +0100
commit42cbff29f8613729cfd9c26db9ed55a0bf484f2c (patch)
tree638603b144284ce270b0b03c13ea261189fe0e26 /test/test_no_linting_on_write_quit.vader
parentbf17bbf898da6763e305a3e92f041532221719b0 (diff)
downloadale-42cbff29f8613729cfd9c26db9ed55a0bf484f2c.zip
Fix #2497 - ALE should not lint on save when disabled after fixing
Diffstat (limited to 'test/test_no_linting_on_write_quit.vader')
-rw-r--r--test/test_no_linting_on_write_quit.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_no_linting_on_write_quit.vader b/test/test_no_linting_on_write_quit.vader
index bbd80d8f..3e49b506 100644
--- a/test/test_no_linting_on_write_quit.vader
+++ b/test/test_no_linting_on_write_quit.vader
@@ -86,7 +86,7 @@ Execute(No linting should be for :w after :q fails):
AssertEqual 1, len(ale#test#GetLoclistWithoutModule())
Execute(No linting should be done on :wq or :x after fixing files):
- let g:ale_lint_on_save = 0
+ let g:ale_lint_on_save = 1
let g:ale_fix_on_save = 1
call ale#events#SaveEvent(bufnr(''))
@@ -103,7 +103,7 @@ Execute(No linting should be done on :wq or :x after fixing files):
AssertEqual [], ale#test#GetLoclistWithoutModule()
Execute(Linting should be done after :q fails and fixing files):
- let g:ale_lint_on_save = 0
+ let g:ale_lint_on_save = 1
let g:ale_fix_on_save = 1
call ale#events#QuitEvent(bufnr(''))