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

11 lines
242 B
Bash

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