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

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" ]]
}