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

19 lines
525 B
Text

Before:
call ale#assert#SetUpLinterTest('tcl', 'nagelfar')
After:
unlet! b:command_tail
call ale#assert#TearDownLinterTest()
Execute(The executable should be configurable):
AssertLinter 'nagelfar.tcl', ale#Escape('nagelfar.tcl') . ' %s'
let b:ale_tcl_nagelfar_executable = 'foobar'
AssertLinter 'foobar', ale#Escape('foobar') . ' %s'
Execute(The options should be configurable):
let b:ale_tcl_nagelfar_options = '--something'
AssertLinter 'nagelfar.tcl', ale#Escape('nagelfar.tcl') . ' --something %s'