ale/test/command_callback/test_haskell_ghc_command_callbacks.vader

13 lines
288 B
Plaintext
Raw Normal View History

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