aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAnders Lindgren2015-12-11 06:46:19 +0100
committerAnders Lindgren2015-12-11 06:46:19 +0100
commit0284660f272a51d17a6f67389a7fa92abf8dec7a (patch)
treec9dba42200c6a624216818f0d0f566a3b03674c5 /lisp
parentd75849e937af0ecbcdc7bf621aa9bcd43aa75df4 (diff)
downloademacs-0284660f272a51d17a6f67389a7fa92abf8dec7a.tar.gz
emacs-0284660f272a51d17a6f67389a7fa92abf8dec7a.zip
; 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'.
Diffstat (limited to 'lisp')
-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 470fd493661..02ae41b9c6b 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1071,7 +1071,7 @@ contained in UNIVERSE."
1071 (make-symbol "<unnamed test>"))) 1071 (make-symbol "<unnamed test>")))
1072 (`(,operator . ,operands) 1072 (`(,operator . ,operands)
1073 (pcase operator 1073 (pcase operator
1074 ((or 'eql 'and 'not 'or) 1074 ((or 'member 'eql 'and 'not 'or)
1075 `(,operator ,@(mapcar #'rec operands))) 1075 `(,operator ,@(mapcar #'rec operands)))
1076 ((or 'tag 'satisfies) 1076 ((or 'tag 'satisfies)
1077 selector)))))) 1077 selector))))))