Fix auto-revert-test05-global-notify

* test/lisp/autorevert-tests.el (auto-revert-test05-global-notify):
Adapt test for killed buffer.
This commit is contained in:
Michael Albinus 2021-09-24 18:09:49 +02:00
parent 68b8f3128f
commit 8fbf816ccd

View file

@ -529,7 +529,7 @@ This expects `auto-revert--messages' to be bound by
buf-1 "1-b" (auto-revert--timeout))
;; On emba, `buf-1' is a killed buffer.
(message "Hallo1")
(when (buffer-live-p buf-1)
(when (buffer-name buf-1)
(should (buffer-local-value
'auto-revert-notify-watch-descriptor buf-1)))