summaryrefslogtreecommitdiff
path: root/test/handler/test_ansible_lint_handler.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/handler/test_ansible_lint_handler.vader')
-rw-r--r--test/handler/test_ansible_lint_handler.vader5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/handler/test_ansible_lint_handler.vader b/test/handler/test_ansible_lint_handler.vader
index 92e11332..e0c67ab8 100644
--- a/test/handler/test_ansible_lint_handler.vader
+++ b/test/handler/test_ansible_lint_handler.vader
@@ -1,11 +1,14 @@
Before:
+ Save b:ale_warn_about_trailing_whitespace
+
runtime ale_linters/ansible/ansible_lint.vim
call ale#test#SetFilename('test_playbook.yml')
let b:ale_warn_about_trailing_whitespace = 1
After:
- unlet! b:ale_warn_about_trailing_whitespace
+ Restore
+
call ale#linter#Reset()
Execute(The ansible-lint handler for version group <5 should handle basic errors):