emacs-diffs
[Top][All Lists]
Advanced

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

fix/bug-48598 3e0a3cf3b1: [DEBUG] Fail faster in services test to flush


From: F. Jason Park
Subject: fix/bug-48598 3e0a3cf3b1: [DEBUG] Fail faster in services test to flush out bug
Date: Fri, 8 Apr 2022 08:12:44 -0400 (EDT)

branch: fix/bug-48598
commit 3e0a3cf3b1e2aa07032d91c64ea15997f216854f
Author: F. Jason Park <jp@neverwas.me>
Commit: F. Jason Park <jp@neverwas.me>

    [DEBUG] Fail faster in services test to flush out bug
---
 test/lisp/erc/erc-scenarios.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/lisp/erc/erc-scenarios.el b/test/lisp/erc/erc-scenarios.el
index 8f311a06bc..afe02d4598 100644
--- a/test/lisp/erc/erc-scenarios.el
+++ b/test/lisp/erc/erc-scenarios.el
@@ -2141,10 +2141,11 @@ Adapted from scenario clash-of-chans/uniquify described 
in Bug#48598:
 
 (ert-deftest erc-scenarios-services-password ()
 
-  (defvar erc-nickserv-passwords) ; <- FIXME what is this?
+  (require 'erc-services)
 
   (erc-scenarios-common-with-cleanup
       ((erc-scenarios-common-dialog "services/password")
+       (inhibit-interaction t)
        (erc-server-flood-penalty 0.1)
        (erc-modules (cons 'services erc-modules))
        (erc-nickserv-passwords '((Libera.Chat (("joe" . "bar")
@@ -2161,7 +2162,7 @@ Adapted from scenario clash-of-chans/uniquify described 
in Bug#48598:
         (should (string= (buffer-name) (format "127.0.0.1:%d" port)))
         (erc-d-t-wait-for 2 (eq erc-network 'Libera.Chat))
         (funcall expect 1 "This nickname is registered.")
-        (funcall expect 1 "You are now identified")
+        (funcall expect 2 "You are now identified")
         (funcall expect 1 "Last login from")
         (erc-cmd-QUIT "")))
 



reply via email to

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