From: Stefan Kangas Date: Wed, 10 Mar 2021 03:34:53 +0000 (+0100) Subject: Fix duplicate ":" in ert-find-test-other-window prompt X-Git-Tag: emacs-28.0.90~3344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4cb52200cb67d3cd1aa77717d12d4b88845e1755;p=emacs.git Fix duplicate ":" in ert-find-test-other-window prompt * lisp/emacs-lisp/ert.el (ert-find-test-other-window): Don't insert duplicate ":" in prompt. --- diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index f7f53eaa700..e91ec0af443 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1633,7 +1633,7 @@ default (if any)." (defun ert-find-test-other-window (test-name) "Find, in another window, the definition of TEST-NAME." - (interactive (list (ert-read-test-name-at-point "Find test definition: "))) + (interactive (list (ert-read-test-name-at-point "Find test definition"))) (find-function-do-it test-name 'ert--test 'switch-to-buffer-other-window)) (defun ert-delete-test (test-name)