mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 23:06:51 +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:
@@ -10,14 +10,8 @@ Execute(Runs the right command for ember-template-lint >= 4.x):
|
||||
AssertLinter 'ember-template-lint',
|
||||
\ ale#Escape('ember-template-lint') . ' --format=json --filename %s'
|
||||
|
||||
Execute(Runs the right command for ember-template-lint >= 1.6, < 4.x):
|
||||
GivenCommandOutput ['1.6.0']
|
||||
|
||||
AssertLinter 'ember-template-lint',
|
||||
\ ale#Escape('ember-template-lint') . ' --json --filename %s'
|
||||
|
||||
Execute(Runs the right command for ember-template-lint < 1.6):
|
||||
GivenCommandOutput ['1.5.0']
|
||||
Execute(Runs the right command for ember-template-lint < 4.x):
|
||||
GivenCommandOutput ['3.14.0']
|
||||
|
||||
AssertLinter 'ember-template-lint',
|
||||
\ ale#Escape('ember-template-lint') . ' --json %t'
|
||||
\ ale#Escape('ember-template-lint') . ' --json --filename %s'
|
||||
|
||||
Reference in New Issue
Block a user