summaryrefslogtreecommitdiff
path: root/test/linter/test_haskell_cabal_ghc.vader
blob: b4976b34454def1afe5c4f2bb6eff0edea76b684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'