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