mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 00:52:20 +00:00
2f72a3ed19
This way the tool runs a bit faster and we don't create unneeded network requests. Don't know if there are other network requests still occurring.
14 lines
409 B
Plaintext
14 lines
409 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('yaml', 'circleci')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The linter should not run for every YAML file):
|
|
AssertLinterNotExecuted
|
|
|
|
Execute(The linter should for YAML files in a .circleci directory):
|
|
call ale#test#SetFilename('../test-files/.circleci/config.yml')
|
|
|
|
AssertLinter 'circleci', 'circleci --skip-update-check config validate - < %s'
|