2017-08-02 18:05:19 -04:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('tcl', 'nagelfar')
|
2017-08-02 18:05:19 -04:00
|
|
|
|
|
|
|
After:
|
|
|
|
unlet! b:command_tail
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-08-02 18:05:19 -04:00
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
Execute(The executable should be configurable):
|
|
|
|
AssertLinter 'nagelfar.tcl', ale#Escape('nagelfar.tcl') . ' %s'
|
2017-08-02 18:05:19 -04:00
|
|
|
|
|
|
|
let b:ale_tcl_nagelfar_executable = 'foobar'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . ' %s'
|
2017-08-02 18:05:19 -04:00
|
|
|
|
|
|
|
Execute(The options should be configurable):
|
|
|
|
let b:ale_tcl_nagelfar_options = '--something'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'nagelfar.tcl', ale#Escape('nagelfar.tcl') . ' --something %s'
|