summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/automated/file-notify-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el
index 4fe79558dcf..2c6f9169b4e 100644
--- a/test/automated/file-notify-tests.el
+++ b/test/automated/file-notify-tests.el
@@ -242,7 +242,7 @@ TIMEOUT is the maximum time to wait for, in seconds."
;; Wait for events, and exit.
(file-notify--wait-for-events 5 file-notify--test-results)
- (should (equal (mapcar #'second file-notify--test-events)
+ (should (equal (mapcar #'cadr file-notify--test-events)
'(created changed deleted
created changed deleted
created changed renamed)))