mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-18 10:15:56 +08:00
#4454 Clean up more tests and code
* Remove some tests we no longer need * Delete blocks of redundant code * Compress some tests together to simplify them * Remove a little code for ancient linter versions * Escape more executables we didn't escape before * Rename a deno option that didn't match our conventions
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user