diff options
author | Tom Willemse | 2020-03-27 16:00:55 -0700 |
---|---|---|
committer | Tom Willemse | 2020-03-27 16:00:55 -0700 |
commit | 6be4d9c52631c8a06c3d7d589caa6975ff82cc35 (patch) | |
tree | 794eb4af5c1d1425d1cc54e24a93a3938e38cf57 /test | |
parent | 3ef93bca23c521b8b8943713fff31db088979320 (diff) | |
download | emacs-config-6be4d9c52631c8a06c3d7d589caa6975ff82cc35.tar.gz emacs-config-6be4d9c52631c8a06c3d7d589caa6975ff82cc35.zip |
Add json configuration
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/oni-json.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/oni-json.bats b/test/integration/oni-json.bats new file mode 100644 index 0000000..a5fa98e --- /dev/null +++ b/test/integration/oni-json.bats @@ -0,0 +1,11 @@ +#!/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" ]] +} |