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

15 lines
402 B
Text
Raw Normal View History

Before:
call ale#assert#SetUpLinterTest('haskell', 'stack_ghc')
After:
call ale#assert#TearDownLinterTest()
Execute(The linter should not be executed when there's no stack.yaml file):
AssertLinterNotExecuted
Execute(The linter should be executed when there is a stack.yaml file):
call ale#test#SetFilename('stack_ghc_paths/test.hs')
AssertLinter 'stack', 'stack ghc -- -fno-code -v0 %t'