aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-01-12 15:34:34 -0800
committerGravatar Tom Willemse2020-01-12 15:34:34 -0800
commit28e10b8e893bec387e1feec42784151ff032b058 (patch)
treeaf02e9fcfbdd6471f4778c26b556c0b05039f2ab /test
parent5fe2bca5cc96331e2a708e1e4a0a531899d53466 (diff)
downloademacs-config-28e10b8e893bec387e1feec42784151ff032b058.tar.gz
emacs-config-28e10b8e893bec387e1feec42784151ff032b058.zip
Add integration test for oni-conf
Diffstat (limited to 'test')
-rw-r--r--test/integration/oni-conf.bats11
1 files changed, 11 insertions, 0 deletions
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" ]
+}