diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-28 16:32:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-03-28 16:33:05 -0700 |
commit | 9ea56457f5a4bbc7551636023c4cd1cede590bc3 (patch) | |
tree | 1a2d3f14e9049df481f9cf9b772ecdd604605e0a /test/lisp/files-tests.el | |
parent | fde99c729c46c775dbdfe5bebf857c67138ae7f0 (diff) | |
download | emacs-9ea56457f5a4bbc7551636023c4cd1cede590bc3.tar.gz emacs-9ea56457f5a4bbc7551636023c4cd1cede590bc3.tar.bz2 emacs-9ea56457f5a4bbc7551636023c4cd1cede590bc3.zip |
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.
Diffstat (limited to 'test/lisp/files-tests.el')
-rw-r--r-- | test/lisp/files-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index d07df02877c..1e6cd5eaba7 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)) |