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

11 lines
242 B
Bash
Executable file

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