summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-09-21 16:29:43 +0300
committerEli Zaretskii <eliz@gnu.org>2015-09-21 16:29:43 +0300
commitd443345b13ccb761257878217d10d6881eabaac6 (patch)
tree6d749bca980155aed57be30937101ea5cbed1100 /test
parent01b547529ba81f4f5a64f5017a2c3d6601d0bb95 (diff)
downloademacs-d443345b13ccb761257878217d10d6881eabaac6.tar.gz
Another fix of file-notify-tests for w32notify
* test/automated/file-notify-tests.el (file-notify-test02-events): Further adaptation for w32notify: reduce the number of expected 'changed' events. (Bug#21435)
Diffstat (limited to 'test')
-rw-r--r--test/automated/file-notify-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el
index 75e0c24a7e9..569f94643c2 100644
--- a/test/automated/file-notify-tests.el
+++ b/test/automated/file-notify-tests.el
@@ -285,7 +285,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered."
;; w32notify does not distinguish between `changed' and
;; `attribute-changed'.
(if (eq file-notify--library 'w32notify)
- '(created changed changed changed deleted)
+ '(created changed changed deleted)
'(created changed deleted))
(write-region
"any text" nil file-notify--test-tmpfile nil 'no-message)
@@ -327,7 +327,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered."
(should (equal (mapcar #'cadr file-notify--test-events)
(if (eq file-notify--library 'w32notify)
'(created changed deleted
- created changed changed changed deleted
+ created changed changed deleted
created changed renamed)
'(created changed deleted
created changed deleted