From bf42248be8e795d591ce97c1d161d73d98038db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Wed, 4 Sep 2024 13:35:51 +0200 Subject: [PATCH] Fix test failure in erc-networks-tests * test/lisp/erc/erc-networks-tests.el (erc-networks--id-sort-buffers): Make sure that buffers have different timestamps. --- test/lisp/erc/erc-networks-tests.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lisp/erc/erc-networks-tests.el b/test/lisp/erc/erc-networks-tests.el index f0a7c37ddf2..e84cca68cdd 100644 --- a/test/lisp/erc/erc-networks-tests.el +++ b/test/lisp/erc/erc-networks-tests.el @@ -133,10 +133,12 @@ erc-networks--id-sort-buffers (with-temp-buffer (setq erc-networks--id (erc-networks--id-fixed-create 'oldest) oldest (current-buffer)) + (sleep-for 0.02) (with-temp-buffer (setq erc-networks--id (erc-networks--id-fixed-create 'middle) middle (current-buffer)) + (sleep-for 0.02) (with-temp-buffer (setq erc-networks--id (erc-networks--id-fixed-create 'newest) -- 2.46.0