From 87e28a028da68ab42ab59dd7395d628c5f8aa4fd Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 9 Apr 2020 14:03:33 -0700 Subject: [PATCH] Load autorevert explicitly in tests --- test/integration/oni-gui.bats | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/oni-gui.bats b/test/integration/oni-gui.bats index 85aaf96..f84d391 100644 --- a/test/integration/oni-gui.bats +++ b/test/integration/oni-gui.bats @@ -30,8 +30,9 @@ [[ "$output" == *"t" ]] } -@test "Opening emacs diminishes auto-revert-mode" { +@test "Loading autorevert diminishes auto-revert-mode" { run emacs -batch -l package -f package-initialize \ + -l autorevert \ -eval "(prin1 (string= (string ?\s oni-gui-arev-icon) (car (alist-get 'auto-revert-mode minor-mode-alist))))" @@ -42,6 +43,7 @@ @test "Reloading autorevert diminishes auto-revert-mode" { run emacs -batch -l package -f package-initialize \ + -l autorevert \ -eval "(load-library \"autorevert\")" \ -eval "(prin1 (string= (string ?\s oni-gui-arev-icon) (car (alist-get 'auto-revert-mode minor-mode-alist))))"