]> git.eshelyaron.com Git - emacs.git/commit
Improve file-notify-tests
authorTassilo Horn <tsdh@gnu.org>
Thu, 10 Sep 2015 15:18:15 +0000 (17:18 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 10 Sep 2015 15:22:58 +0000 (17:22 +0200)
commita6a1333e7e34a63bce4177ff5100ff92ab51e8a6
tree3ebcef1481d15f360a1188048871ba4f45da93a0
parentf962c5d6472804f788cdd54631bcc46aab5f59ce
Improve file-notify-tests

* test/automated/file-notify-tests.el: Use lexical-binding
(file-notify--test-cleanup): New function.
(file-notify-test00-availability, file-notify-test01-add-watch)
(file-notify-test02-events, file-notify-test03-autorevert): Use it.
(file-notify--test-with-events): New macro.
(file-notify-test02-events): Use it.
test/automated/file-notify-tests.el