diff options
author | w0rp <devw0rp@gmail.com> | 2023-09-16 22:22:01 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2023-09-16 22:23:30 +0100 |
commit | ae1d0515049ed135878672e06b51b083f5ae384d (patch) | |
tree | 1556645edaf786bc934be9cc8cc63408e65054d4 /test/linter/test_cookstyle.vader | |
parent | 4b11cf21dc8406b579b89e50ae3f08ef2c0856e1 (diff) | |
download | ale-ae1d0515049ed135878672e06b51b083f5ae384d.zip |
#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
Diffstat (limited to 'test/linter/test_cookstyle.vader')
-rw-r--r-- | test/linter/test_cookstyle.vader | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/test/linter/test_cookstyle.vader b/test/linter/test_cookstyle.vader index ad7391cc..ccd6b1a2 100644 --- a/test/linter/test_cookstyle.vader +++ b/test/linter/test_cookstyle.vader @@ -4,16 +4,11 @@ Before: After: call ale#assert#TearDownLinterTest() -Execute(The default command should be correct): +Execute(The default cookstyle command should be correct): AssertLinter 'cookstyle', ale#Escape('cookstyle') . ' --force-exclusion --format json --stdin %s' -Execute(The executable path should be configurable): +Execute(The cookstyle executable and options should be configurable): let b:ale_chef_cookstyle_executable = 'foobar' - - AssertLinter 'foobar', ale#Escape('foobar') . ' --force-exclusion --format json --stdin %s' - -Execute(The linter options should be configurable): let b:ale_chef_cookstyle_options = '--parallel' - AssertLinter 'cookstyle', ale#Escape('cookstyle') . ' --parallel --force-exclusion --format json --stdin %s' - + AssertLinter 'foobar', ale#Escape('foobar') . ' --parallel --force-exclusion --format json --stdin %s' |