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

12 lines
243 B
Text
Raw Permalink Normal View History

2021-02-10 02:36:10 +01:00
#!/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" ]]
}