summaryrefslogtreecommitdiff
path: root/test/linter/test_xvhdl.vader
blob: 86f9a32d356b80b6ad2f1c0b35b6a0fa7287d61f (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('vhdl', 'xvhdl')

After:
  unlet! b:command_tail

  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'xvhdl', ale#Escape('xvhdl') . '  --2008 %t'

  let b:ale_vhdl_xvhdl_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . '  --2008 %t'

Execute(The options should be configurable):
  let b:ale_vhdl_xvhdl_options = '--something'

  AssertLinter 'xvhdl', ale#Escape('xvhdl') . '  --something %t'