summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2021-12-30 17:59:07 +0100
committerPhilipp Stephani <phst@google.com>2021-12-30 17:59:07 +0100
commitd0974e294d6af4e1e89e1e2640bbd92c511c028a (patch)
treed95f91b37d7f7fc60e655b0e21bcab17d3ec649f /lisp/emacs-lisp
parent097452efbc0d087fbff401651bc6379721202243 (diff)
downloademacs-d0974e294d6af4e1e89e1e2640bbd92c511c028a.tar.gz
emacs-d0974e294d6af4e1e89e1e2640bbd92c511c028a.tar.bz2
emacs-d0974e294d6af4e1e89e1e2640bbd92c511c028a.zip
* lisp/emacs-lisp/ert.el (ert-select-tests): Document new error.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/ert.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index e3e85b5cefb..70ce3a71b23 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.