mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
14 lines
389 B
Plaintext
14 lines
389 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 config validate - < %s'
|