mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-18 06:19:49 +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:
@@ -8,14 +8,9 @@ Execute(The default command should be correct):
|
||||
AssertLinter 'thriftcheck', ale#Escape('thriftcheck')
|
||||
\ . ' --stdin-filename %s %t'
|
||||
|
||||
Execute(The executable should be configurable):
|
||||
Execute(The executable and options should be configurable):
|
||||
let b:ale_thrift_thriftcheck_executable = 'foobar'
|
||||
|
||||
AssertLinter 'foobar', ale#Escape('foobar')
|
||||
\ . ' --stdin-filename %s %t'
|
||||
|
||||
Execute(The string of options should be configurable):
|
||||
let b:ale_thrift_thriftcheck_options = '--errors-only'
|
||||
|
||||
AssertLinter 'thriftcheck', ale#Escape('thriftcheck')
|
||||
AssertLinter 'foobar', ale#Escape('foobar')
|
||||
\ . ' --errors-only --stdin-filename %s %t'
|
||||
|
||||
Reference in New Issue
Block a user