diff --git a/test/integration/oni-core.bats b/test/integration/oni-core.bats index 373d3ea..c7c6dae 100755 --- a/test/integration/oni-core.bats +++ b/test/integration/oni-core.bats @@ -36,6 +36,15 @@ [[ "$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" { 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))))"