diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-09-26 17:03:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-09-26 17:03:28 -0400 |
commit | c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4 (patch) | |
tree | 594b79e2b89be6a39f88828df7b2073df1fda932 /test/lisp/emacs-lisp | |
parent | 4591d93a8e5e79e7fea8a67c84c6adf0ea8add28 (diff) | |
download | emacs-c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4.tar.gz emacs-c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4.tar.bz2 emacs-c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4.zip |
(pcase-tests-quote-optimization): Fix warning
* test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-quote-optimization):
Fix confusing code.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/pcase-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/pcase-tests.el b/test/lisp/emacs-lisp/pcase-tests.el index e777b71920c..5f2927d1aff 100644 --- a/test/lisp/emacs-lisp/pcase-tests.el +++ b/test/lisp/emacs-lisp/pcase-tests.el @@ -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)) |