emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 87a8b12a0c4: Fix test failure in erc-networks-tests


From: Ulrich Müller
Subject: emacs-30 87a8b12a0c4: Fix test failure in erc-networks-tests
Date: Thu, 5 Sep 2024 04:23:34 -0400 (EDT)

branch: emacs-30
commit 87a8b12a0c45cd92665978e63cb56354d61cc076
Author: Ulrich Müller <ulm@gentoo.org>
Commit: Ulrich Müller <ulm@gentoo.org>

    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.  (Bug#73036)
---
 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 @@
     (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]