emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/magit 889ec5bd89 23/31: magit-process:password-prompt: Cos


From: Jonas Bernoulli
Subject: [nongnu] elpa/magit 889ec5bd89 23/31: magit-process:password-prompt: Cosmetics
Date: Sun, 26 Jan 2025 13:08:56 -0500 (EST)

branch: elpa/magit
commit 889ec5bd89c272da51cdb25bb2ffb41e57fae673
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-process:password-prompt: Cosmetics
---
 test/magit-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/magit-tests.el b/test/magit-tests.el
index e47d32f18a..0313375e6b 100644
--- a/test/magit-tests.el
+++ b/test/magit-tests.el
@@ -1,6 +1,6 @@
 ;;; magit-tests.el --- Tests for Magit  -*- lexical-binding:t; coding:utf-8 -*-
 
-;; Copyright (C) 2008-2024 The Magit Project Contributors
+;; Copyright (C) 2008-2025 The Magit Project Contributors
 
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 
@@ -274,7 +274,7 @@
 
 (ert-deftest magit-process:password-prompt ()
   (let ((magit-process-find-password-functions
-         (list (lambda (host) (when (string= host "www.host.com") 
"mypasswd")))))
+         (list (lambda (host) (and (string= host "www.host.com") 
"mypasswd")))))
     (cl-letf (((symbol-function 'process-send-string)
                (lambda (_process string) string)))
       (should (string-equal (magit-process-password-prompt



reply via email to

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