diff options
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/oni-fish.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-fish.bats b/test/integration/oni-fish.bats new file mode 100644 index 0000000..4d7be1d --- /dev/null +++ b/test/integration/oni-fish.bats @@ -0,0 +1,11 @@ +#!/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" ]] +} |