branch: externals/compat
commit 0cfd9f55ce389ae831a8e52b8cfaaec0942cf2b9
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
compat-tests: Remove sleep for from file-backup-file-names test
---
compat-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compat-tests.el b/compat-tests.el
index f8349be0b2..6b0c812d75 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -1238,10 +1238,10 @@
(push (concat file "~") backups)
(make-empty-file (car backups))
(should-equal backups (file-backup-file-names file))
- (sleep-for 1) ;; FIXME Slowing down the test suite here is not great.
+ ;; (sleep-for 1) ;; FIXME Slowing down the test suite here is not great.
(push (concat file ".~1~") backups)
(make-empty-file (car backups))
- (should-equal backups (file-backup-file-names file))))
+ (should-equal backups (sort (file-backup-file-names file) #'string<))))
(ert-deftest make-nearby-temp-file ()
;; TODO Test tramp remote directory.