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