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

12 lines
242 B
Text
Raw Normal View History

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