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

11 lines
243 B
Bash
Executable file

#!/usr/bin/env bats
@test "Opening a .elm file loads oni-elmc" {
run emacs -batch -l package -f package-initialize \
-visit test.elm \
-eval "(prin1 (featurep 'oni-elm))"
echo "$output"
[[ "$output" == *"t" ]]
}