[Top][All Lists]

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

master d0974e294d: * lisp/emacs-lisp/ert.el (ert-select-tests): Document

From: Philipp Stephani
Subject: master d0974e294d: * lisp/emacs-lisp/ert.el (ert-select-tests): Document new error.
Date: Thu, 30 Dec 2021 11:59:31 -0500 (EST)

branch: master
commit d0974e294d6af4e1e89e1e2640bbd92c511c028a
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    * lisp/emacs-lisp/ert.el (ert-select-tests): Document new error.
 lisp/emacs-lisp/ert.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index e3e85b5cef..70ce3a71b2 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -950,7 +950,8 @@ t    -- Selects UNIVERSE.
 :expected, :unexpected -- Select tests according to their most recent result.
 a string -- A regular expression selecting all tests with matching names.
 a test   -- (i.e., an object of the ert-test data-type) Selects that test.
-a symbol -- Selects the test that the symbol names, errors if none.
+a symbol -- Selects the test that the symbol names, signals an
+    `ert-test-unbound' error if none.
 \(member TESTS...) -- Selects the elements of TESTS, a list of tests
     or symbols naming tests.
 \(eql TEST) -- Selects TEST, a test or a symbol naming a test.

reply via email to

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