From 27ae68341c024b96857e071435b491a476802a36 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 8 Apr 2020 00:07:45 -0700 Subject: Add basic fish shell script configuration --- test/integration/oni-fish.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/integration/oni-fish.bats (limited to 'test') 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" ]] +} -- cgit v1.3-2-g0d8e