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

11 lines
242 B
Bash

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