diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/oni-elm.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-elm.bats b/test/integration/oni-elm.bats new file mode 100755 index 0000000..d1c9564 --- /dev/null +++ b/test/integration/oni-elm.bats @@ -0,0 +1,11 @@ +#!/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" ]] +} |