(pcase-tests-quote-optimization): Fix warning
* test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-quote-optimization): Fix confusing code.
This commit is contained in:
parent
4591d93a8e
commit
c95620ffbf
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
(`(,_ . ,_) (BAR))
|
||||
('(a b) (FOO))))))
|
||||
(let ((exp1 (macroexpand '(pcase EXP
|
||||
(`(`(,(or 'a1 'b1)) (FOO1)))
|
||||
(`((,(or 'a1 'b1))) (FOO1))
|
||||
('(c) (FOO2))
|
||||
('(d) (FOO3))))))
|
||||
(should (= 1 (with-temp-buffer (prin1 exp1 (current-buffer))
|
||||
|
|
Loading…
Add table
Reference in a new issue