blob: a7aec3a2d6ea6ae8a4305e6cdcd1bbdac001ea26 (
plain)
1
2
3
4
5
6
7
8
9
10
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" ]]
}
|