diff options
author | Tom Willemse | 2020-10-15 10:36:00 -0700 |
---|---|---|
committer | Tom Willemse | 2020-10-15 14:25:18 -0700 |
commit | 7fb78d41eb90a4fe23933631ed3938499aef8873 (patch) | |
tree | 15460efa064915c7d5a72177847f0370dd5edfc1 /test/integration/oni-core.bats | |
parent | a49fda9c7930df7ecaa813cc5c6bdfac9308332d (diff) | |
download | emacs-config-7fb78d41eb90a4fe23933631ed3938499aef8873.tar.gz emacs-config-7fb78d41eb90a4fe23933631ed3938499aef8873.zip |
Add test to see if gcmh-mode is enabled
Diffstat (limited to 'test/integration/oni-core.bats')
-rwxr-xr-x | test/integration/oni-core.bats | 9 |
1 files changed, 9 insertions, 0 deletions
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))))" |