diff options
| author | Eli Zaretskii | 2015-09-21 16:29:43 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-09-21 16:29:43 +0300 |
| commit | d443345b13ccb761257878217d10d6881eabaac6 (patch) | |
| tree | 6d749bca980155aed57be30937101ea5cbed1100 | |
| parent | 01b547529ba81f4f5a64f5017a2c3d6601d0bb95 (diff) | |
| download | emacs-d443345b13ccb761257878217d10d6881eabaac6.tar.gz emacs-d443345b13ccb761257878217d10d6881eabaac6.zip | |
Another fix of file-notify-tests for w32notify
* test/automated/file-notify-tests.el (file-notify-test02-events):
Further adaptation for w32notify: reduce the number of expected
'changed' events. (Bug#21435)
| -rw-r--r-- | test/automated/file-notify-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index 75e0c24a7e9..569f94643c2 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el | |||
| @@ -285,7 +285,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." | |||
| 285 | ;; w32notify does not distinguish between `changed' and | 285 | ;; w32notify does not distinguish between `changed' and |
| 286 | ;; `attribute-changed'. | 286 | ;; `attribute-changed'. |
| 287 | (if (eq file-notify--library 'w32notify) | 287 | (if (eq file-notify--library 'w32notify) |
| 288 | '(created changed changed changed deleted) | 288 | '(created changed changed deleted) |
| 289 | '(created changed deleted)) | 289 | '(created changed deleted)) |
| 290 | (write-region | 290 | (write-region |
| 291 | "any text" nil file-notify--test-tmpfile nil 'no-message) | 291 | "any text" nil file-notify--test-tmpfile nil 'no-message) |
| @@ -327,7 +327,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." | |||
| 327 | (should (equal (mapcar #'cadr file-notify--test-events) | 327 | (should (equal (mapcar #'cadr file-notify--test-events) |
| 328 | (if (eq file-notify--library 'w32notify) | 328 | (if (eq file-notify--library 'w32notify) |
| 329 | '(created changed deleted | 329 | '(created changed deleted |
| 330 | created changed changed changed deleted | 330 | created changed changed deleted |
| 331 | created changed renamed) | 331 | created changed renamed) |
| 332 | '(created changed deleted | 332 | '(created changed deleted |
| 333 | created changed deleted | 333 | created changed deleted |