diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-25 12:32:43 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-01-25 12:32:43 +0100 |
| commit | 889ec5bd89c272da51cdb25bb2ffb41e57fae673 (patch) | |
| tree | 1e7031dc2c3b21d077abb7a93db5ceddb312435d /test | |
| parent | 75988adc0a1387216d96f4d20a7bc4815bd9cbe5 (diff) | |
magit-process:password-prompt: Cosmetics
Diffstat (limited to 'test')
| -rw-r--r-- | test/magit-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/magit-tests.el b/test/magit-tests.el index e47d32f..0313375 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 |
