From 6be4d9c52631c8a06c3d7d589caa6975ff82cc35 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 27 Mar 2020 16:00:55 -0700 Subject: Add json configuration --- test/integration/oni-json.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/integration/oni-json.bats (limited to 'test/integration/oni-json.bats') 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" ]] +} -- cgit v1.2.3-54-g00ecf