(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:
Stefan Monnier 2024-09-26 17:03:28 -04:00
parent 4591d93a8e
commit c95620ffbf

View file

@ -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))