12 lines
242 B
Text
12 lines
242 B
Text
|
#!/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" ]]
|
||
|
}
|