emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9ea5645: Test notify handlers only if file notifica


From: Paul Eggert
Subject: [Emacs-diffs] master 9ea5645: Test notify handlers only if file notification
Date: Wed, 28 Mar 2018 19:33:10 -0400 (EDT)

branch: master
commit 9ea56457f5a4bbc7551636023c4cd1cede590bc3
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Test notify handlers only if file notification
    
    * test/lisp/files-tests.el:
    (files-file-name-non-special-notify-handlers):
    Skip if file notification is not available.
---
 test/lisp/files-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index d07df02..1e6cd5e 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -553,6 +553,7 @@ be invoked with the right arguments."
     (should-not (file-newer-than-file-p nospecial nospecial))))
 
 (ert-deftest files-file-name-non-special-notify-handlers ()
+  (skip-unless file-notify--library)
   (files-tests--with-temp-non-special (tmpfile nospecial)
     (let ((watch (file-notify-add-watch nospecial '(change) #'ignore)))
       (should (file-notify-valid-p watch))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]