summaryrefslogtreecommitdiff
path: root/test/linter/test_haskell_hdevtools.vader
blob: 0ef2f0e35edb521d58cb1bc3da4ccc85500adf8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Before:
  call ale#assert#SetUpLinterTest('haskell', 'hdevtools')

  let b:command_tail = ' check -g -Wall -p %s %t'

After:
  unlet! b:command_tail

  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'hdevtools', ale#Escape('hdevtools') . b:command_tail

  let b:ale_haskell_hdevtools_executable = 'foobar'

  AssertLinter 'foobar', ale#Escape('foobar') . b:command_tail