mirror of https://github.com/dense-analysis/ale
15 lines
449 B
Plaintext
15 lines
449 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('pony', 'ponyc')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default ponyc command should be correct):
|
|
AssertLinter 'ponyc', ale#Escape('ponyc') . ' --pass paint'
|
|
|
|
Execute(The pony executable and options should be configurable):
|
|
let b:ale_pony_ponyc_executable = 'foobar'
|
|
let b:ale_pony_ponyc_options = '--some-option'
|
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . ' --some-option'
|