11 lines
248 B
Bash
11 lines
248 B
Bash
#!/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" ]]
|
|
}
|