summaryrefslogtreecommitdiff
path: root/test/command_callback/test_nagelfar_command_callbacks.vader
blob: 94bb1d53cb83c55c4c4eabbc0faa33fe1efd87c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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'