mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-19 04:21:25 +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:
98 files changed
+257
-674
No files matched your search
@@ -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