From 28e10b8e893bec387e1feec42784151ff032b058 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 12 Jan 2020 15:34:34 -0800 Subject: Add integration test for oni-conf --- test/integration/oni-conf.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/integration/oni-conf.bats (limited to 'test') diff --git a/test/integration/oni-conf.bats b/test/integration/oni-conf.bats new file mode 100644 index 0000000..1f9f2d3 --- /dev/null +++ b/test/integration/oni-conf.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Opening a .conf file loads oni-conf" { + run emacs -batch -l package -f package-initialize \ + -visit test.conf \ + -eval "(prin1 (featurep 'oni-conf))" + + echo "$output" + + [ "$output" = "t" ] +} -- cgit v1.2.3-54-g00ecf