mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 20:11:26 +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:
@@ -4,15 +4,10 @@ Before:
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default command should be correct):
|
||||
Execute(The default tflint command should be correct):
|
||||
AssertLinter 'tflint', ale#Escape('tflint') . ' -f json'
|
||||
|
||||
Execute(The default executable should be configurable):
|
||||
let b:ale_terraform_tflint_executable = 'asdf'
|
||||
|
||||
AssertLinter 'asdf', ale#Escape('asdf') . ' -f json'
|
||||
|
||||
Execute(Overriding options should work):
|
||||
Execute(Test tflint executable and command should be configurable):
|
||||
let g:ale_terraform_tflint_executable = 'fnord'
|
||||
let g:ale_terraform_tflint_options = '--whatever'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user