2017-07-24 04:36:28 +00:00
|
|
|
Before:
|
2018-07-15 17:24:53 +00:00
|
|
|
call ale#assert#SetUpLinterTest('haskell', 'hdevtools')
|
2017-07-24 04:36:28 +00:00
|
|
|
|
|
|
|
let b:command_tail = ' check -g -Wall -p %s %t'
|
|
|
|
|
|
|
|
After:
|
|
|
|
unlet! b:command_tail
|
|
|
|
|
2018-07-15 17:24:53 +00:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2017-07-24 04:36:28 +00:00
|
|
|
|
2018-07-15 17:24:53 +00:00
|
|
|
Execute(The executable should be configurable):
|
|
|
|
AssertLinter 'hdevtools', ale#Escape('hdevtools') . b:command_tail
|
2017-07-24 04:36:28 +00:00
|
|
|
|
|
|
|
let b:ale_haskell_hdevtools_executable = 'foobar'
|
|
|
|
|
2018-07-15 17:24:53 +00:00
|
|
|
AssertLinter 'foobar', ale#Escape('foobar') . b:command_tail
|