summaryrefslogtreecommitdiff
path: root/test/linter/test_haskell_ghc_mod.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_haskell_ghc_mod.vader')
-rw-r--r--test/linter/test_haskell_ghc_mod.vader10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/linter/test_haskell_ghc_mod.vader b/test/linter/test_haskell_ghc_mod.vader
new file mode 100644
index 00000000..c1cc8597
--- /dev/null
+++ b/test/linter/test_haskell_ghc_mod.vader
@@ -0,0 +1,10 @@
+Before:
+ call ale#assert#SetUpLinterTest('haskell', 'ghc_mod')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(Default should use ghc-mod):
+ AssertLinter
+ \ 'ghc-mod',
+ \ ale#Escape('ghc-mod') . ' --map-file %s=%t check %s'