diff options
author | Tom Willemse | 2020-01-07 16:25:30 -0800 |
---|---|---|
committer | Tom Willemse | 2020-01-07 16:25:30 -0800 |
commit | e91f599f13660a2d60831455f650aa44a3bfb508 (patch) | |
tree | 273f4d698fd38131eae3da53ad33357866bdfc2f /test/oni-alert.bats | |
parent | 0115885ae590135aee236839401b3a981772dae0 (diff) | |
download | emacs-config-e91f599f13660a2d60831455f650aa44a3bfb508.tar.gz emacs-config-e91f599f13660a2d60831455f650aa44a3bfb508.zip |
Move test if oni-alert loads into bats test
With bats I can better test Emacs from a clean state.
Diffstat (limited to 'test/oni-alert.bats')
-rw-r--r-- | test/oni-alert.bats | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/oni-alert.bats b/test/oni-alert.bats new file mode 100644 index 0000000..8c42fdf --- /dev/null +++ b/test/oni-alert.bats @@ -0,0 +1,9 @@ +#!/usr/bin/env bats + +@test "Loading alert loads oni-alert" { + run emacs -batch -l package -f package-initialize \ + -l alert \ + -eval "(prin1 (featurep 'oni-alert))" + + [ "$output" = "t" ] +} |