Commit 79d7138c authored by Michael Albinus's avatar Michael Albinus

* test/lisp/autorevert-tests.el

(auto-revert-test02-auto-revert-deleted-file): Extend test.
parent 67475a59
......@@ -167,6 +167,7 @@ This expects `auto-revert--messages' to be bound by
(write-region "any text" nil tmpfile nil 'no-message)
(setq buf (find-file-noselect tmpfile))
(with-current-buffer buf
(should-not auto-revert-notify-watch-descriptor)
(should (string-equal (buffer-string) "any text"))
;; `buffer-stale--default-function' checks for
;; `verify-visited-file-modtime'. We must ensure that
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment