mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; Fix autorevert-tests for MS-Window
* test/lisp/autorevert-tests.el (auto-revert-test04-auto-revert-mode-dired): Fix for MS-Windows.
This commit is contained in:
parent
f2d3659cf5
commit
0da899c035
1 changed files with 7 additions and 3 deletions
|
|
@ -392,9 +392,13 @@ This expects `auto-revert--messages' to be bound by
|
|||
;; Delete file.
|
||||
(delete-file tmpfile)
|
||||
(auto-revert--wait-for-revert buf))
|
||||
;; Check, that the buffer has been reverted.
|
||||
;; Check, that the buffer has been reverted. (On
|
||||
;; MS-Windows, this can randomly fail for unknown
|
||||
;; reasons.)
|
||||
(unless (eq system-type 'windows-nt)
|
||||
(should-not
|
||||
(string-match name (substring-no-properties (buffer-string))))
|
||||
(string-match name (substring-no-properties
|
||||
(buffer-string)))))
|
||||
|
||||
(ert-with-message-capture auto-revert--messages
|
||||
;; Make dired buffer modified. Check, that the buffer has
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue