diff options
author | Tom Willemse | 2020-01-12 15:34:34 -0800 |
---|---|---|
committer | Tom Willemse | 2020-01-12 15:34:34 -0800 |
commit | 28e10b8e893bec387e1feec42784151ff032b058 (patch) | |
tree | af02e9fcfbdd6471f4778c26b556c0b05039f2ab /test/integration/oni-conf.bats | |
parent | 5fe2bca5cc96331e2a708e1e4a0a531899d53466 (diff) | |
download | emacs-config-28e10b8e893bec387e1feec42784151ff032b058.tar.gz emacs-config-28e10b8e893bec387e1feec42784151ff032b058.zip |
Add integration test for oni-conf
Diffstat (limited to 'test/integration/oni-conf.bats')
-rw-r--r-- | test/integration/oni-conf.bats | 11 |
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" ] +} |