11 lines
242 B
Bash
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" ]]
|
|
}
|