summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Lindgren <andlind@gmail.com>2015-12-11 06:46:19 +0100
committerAnders Lindgren <andlind@gmail.com>2015-12-11 06:46:19 +0100
commit0284660f272a51d17a6f67389a7fa92abf8dec7a (patch)
treec9dba42200c6a624216818f0d0f566a3b03674c5
parentd75849e937af0ecbcdc7bf621aa9bcd43aa75df4 (diff)
; Restore selector `member' accidentally drooped in ert rewrite.
; `test/automated/ert.el' and `test/automated/ert-x.el' now run ; without errors. * lisp/emacs-lisp/ert.el (ert--insert-human-readable-selector): Add the `member' selector. This was accidentally dropped when code was converted from `cl-typecase' (where `member' has a special meaning) and `cl-ecase' (where it doesn't) to `pcase'.
-rw-r--r--lisp/emacs-lisp/ert.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 470fd49366..02ae41b9c6 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1071,7 +1071,7 @@ contained in UNIVERSE."
(make-symbol "<unnamed test>")))
(`(,operator . ,operands)
(pcase operator
- ((or 'eql 'and 'not 'or)
+ ((or 'member 'eql 'and 'not 'or)
`(,operator ,@(mapcar #'rec operands)))
((or 'tag 'satisfies)
selector))))))