1
0
Fork 0
emacs-config/test/oni-alert.bats
Tom Willemse e91f599f13 Move test if oni-alert loads into bats test
With bats I can better test Emacs from a clean state.
2020-01-07 16:25:30 -08:00

9 lines
209 B
Bash

#!/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" ]
}