1
0
Fork 0

Add test to see if gcmh-mode is enabled

This commit is contained in:
Tom Willemse 2020-10-15 10:36:00 -07:00
parent a49fda9c79
commit 7fb78d41eb

View file

@ -36,6 +36,15 @@
[[ "$output" == *"t" ]] [[ "$output" == *"t" ]]
} }
@test "Starting Emacs enables gcmh-mode" {
run emacs -batch -l package -f package-initialize \
-eval "(prin1 (bound-and-true-p gcmh-mode))"
echo "$output"
[[ "$output" == *"t" ]]
}
@test "Starting Emacs diminishes ws-butler-global-mode" { @test "Starting Emacs diminishes ws-butler-global-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \ run emacs -batch -l package -f package-initialize -l subr-x \
-eval "(prin1 (string-empty-p (car (alist-get 'ws-butler-mode minor-mode-alist))))" -eval "(prin1 (string-empty-p (car (alist-get 'ws-butler-mode minor-mode-alist))))"