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

11 lines
251 B
Bash

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