11 lines
243 B
Bash
Executable file
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" ]]
|
|
}
|