1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix autorevert-tests on MS-Windows

* test/lisp/autorevert-tests.el
(auto-revert-test02-auto-revert-deleted-file): Don't check that
auto-revert-use-notify was reset to nil on w32.
This commit is contained in:
Eli Zaretskii 2017-02-04 13:49:55 +02:00
parent ef3d8d6f72
commit c8f91b168b

View file

@ -190,7 +190,9 @@ This expects `auto-revert--messages' to be bound by
;; notification should be disabled, falling back to
;; polling.
(should (string-match "any text" (buffer-string)))
(should-not auto-revert-use-notify)
;; With w32notify, the 'stopped' events are not sent.
(or (eq file-notify--library 'w32notify)
(should-not auto-revert-use-notify))
;; Once the file has been recreated, the buffer shall be
;; reverted.