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

12 lines
248 B
Text
Raw Normal View History

2020-03-30 08:56:44 +02:00
#!/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" ]]
}