This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_haskell_ghc_command_callbacks.vader

13 lines
288 B
Text
Raw Normal View History

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