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_cabal_ghc_command_callbacks.vader

14 lines
357 B
Text
Raw Permalink Normal View History

Before:
call ale#assert#SetUpLinterTest('haskell', 'cabal_ghc')
After:
call ale#assert#TearDownLinterTest()
Execute(The options should be used in the command):
AssertLinterCwd '%s:h'
AssertLinter 'cabal', 'cabal exec -- ghc -fno-code -v0 %t'
let b:ale_haskell_cabal_ghc_options = 'foobar'
AssertLinter 'cabal', 'cabal exec -- ghc foobar %t'