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

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" ]]
}