2018-01-07 12:41:06 -05:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('haskell', 'ghc')
|
2018-01-07 12:41:06 -05:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-01-07 12:41:06 -05:00
|
|
|
|
|
|
|
Execute(The options should be used in the command):
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'ghc', 'ghc -fno-code -v0 %t'
|
2018-01-07 12:41:06 -05:00
|
|
|
|
|
|
|
let b:ale_haskell_ghc_options = 'foobar'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'ghc', 'ghc foobar %t'
|