aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-03-29 23:56:44 -0700
committerGravatar Tom Willemse2020-03-29 23:56:44 -0700
commit5dcb39c59c87da1f8e570a24eb84405d2c3d81e8 (patch)
tree7bb7287199acf1de128b58a061a9ab3f34f6b195 /test
parentd8bcda8f25e9140144c21c4a80f3812af805b044 (diff)
downloademacs-config-5dcb39c59c87da1f8e570a24eb84405d2c3d81e8.tar.gz
emacs-config-5dcb39c59c87da1f8e570a24eb84405d2c3d81e8.zip
Add Haskell configuration
Diffstat (limited to 'test')
-rw-r--r--test/integration/oni-haskell.bats11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-haskell.bats b/test/integration/oni-haskell.bats
new file mode 100644
index 0000000..a7aec3a
--- /dev/null
+++ b/test/integration/oni-haskell.bats
@@ -0,0 +1,11 @@
+#!/usr/bin/env bats
+
+@test "Opening a .hs file loads oni-haskell" {
+ run emacs -batch -l package -f package-initialize \
+ -visit test.hs \
+ -eval "(prin1 (featurep 'oni-haskell))"
+
+ echo "$output"
+
+ [[ "$output" == *"t" ]]
+}