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

12 lines
245 B
Text
Raw Normal View History

2020-03-28 00:00:55 +01:00
#!/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" ]]
}