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

12 lines
251 B
Text
Raw Normal View History

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