summaryrefslogtreecommitdiff
path: root/test/linter/test_haskell_ghc.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_haskell_ghc.vader')
-rw-r--r--test/linter/test_haskell_ghc.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/linter/test_haskell_ghc.vader b/test/linter/test_haskell_ghc.vader
new file mode 100644
index 00000000..2f33477d
--- /dev/null
+++ b/test/linter/test_haskell_ghc.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpLinterTest('haskell', 'ghc')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The options should be used in the command):
+ AssertLinter 'ghc', 'ghc -fno-code -v0 %t'
+
+ let b:ale_haskell_ghc_options = 'foobar'
+
+ AssertLinter 'ghc', 'ghc foobar %t'