1
0
Fork 0
emacs-config/test/integration/oni-haskell.bats

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" ]]
}