diff options
Diffstat (limited to 'test/lisp/filenotify-tests.el')
-rw-r--r-- | test/lisp/filenotify-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 2027299197b..0b6e66e73a6 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el @@ -946,7 +946,8 @@ delivered." (file-notify--test-wait-for-events timeout (null auto-revert-notify-watch-descriptor)) (should auto-revert-use-notify) - (should-not auto-revert-notify-watch-descriptor) + (should-not + (file-notify-valid-p auto-revert-notify-watch-descriptor)) ;; Modify file. We wait for two seconds, in order to ;; have another timestamp. One second seems to be too |