Load autorevert explicitly in tests
This commit is contained in:
parent
69aec39c5d
commit
87e28a028d
1 changed files with 3 additions and 1 deletions
|
@ -30,8 +30,9 @@
|
||||||
[[ "$output" == *"t" ]]
|
[[ "$output" == *"t" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "Opening emacs diminishes auto-revert-mode" {
|
@test "Loading autorevert diminishes auto-revert-mode" {
|
||||||
run emacs -batch -l package -f package-initialize \
|
run emacs -batch -l package -f package-initialize \
|
||||||
|
-l autorevert \
|
||||||
-eval "(prin1 (string= (string ?\s oni-gui-arev-icon)
|
-eval "(prin1 (string= (string ?\s oni-gui-arev-icon)
|
||||||
(car (alist-get 'auto-revert-mode minor-mode-alist))))"
|
(car (alist-get 'auto-revert-mode minor-mode-alist))))"
|
||||||
|
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
|
|
||||||
@test "Reloading autorevert diminishes auto-revert-mode" {
|
@test "Reloading autorevert diminishes auto-revert-mode" {
|
||||||
run emacs -batch -l package -f package-initialize \
|
run emacs -batch -l package -f package-initialize \
|
||||||
|
-l autorevert \
|
||||||
-eval "(load-library \"autorevert\")" \
|
-eval "(load-library \"autorevert\")" \
|
||||||
-eval "(prin1 (string= (string ?\s oni-gui-arev-icon)
|
-eval "(prin1 (string= (string ?\s oni-gui-arev-icon)
|
||||||
(car (alist-get 'auto-revert-mode minor-mode-alist))))"
|
(car (alist-get 'auto-revert-mode minor-mode-alist))))"
|
||||||
|
|
Loading…
Reference in a new issue