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