This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_nagelfar_command_callbacks.vader

20 lines
525 B
Text
Raw Normal View History

2017-08-02 22:05:19 +00:00
Before:
call ale#assert#SetUpLinterTest('tcl', 'nagelfar')
2017-08-02 22:05:19 +00:00
After:
unlet! b:command_tail
call ale#assert#TearDownLinterTest()
2017-08-02 22:05:19 +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'
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'
AssertLinter 'nagelfar.tcl', ale#Escape('nagelfar.tcl') . ' --something %s'