From d443345b13ccb761257878217d10d6881eabaac6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 21 Sep 2015 16:29:43 +0300 Subject: [PATCH] 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) --- test/automated/file-notify-tests.el | 4 ++-- 1 file 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 -- 2.39.2