diff options
| author | Stefan Monnier | 2024-09-26 17:03:28 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2024-09-26 17:03:28 -0400 |
| commit | c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4 (patch) | |
| tree | 594b79e2b89be6a39f88828df7b2073df1fda932 | |
| parent | 4591d93a8e5e79e7fea8a67c84c6adf0ea8add28 (diff) | |
| download | emacs-c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4.tar.gz emacs-c95620ffbf8c2caebdb6a7aba7dbe9cd223fa2f4.zip | |
(pcase-tests-quote-optimization): Fix warning
* test/lisp/emacs-lisp/pcase-tests.el (pcase-tests-quote-optimization):
Fix confusing code.
| -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 @@ | |||
| 85 | (`(,_ . ,_) (BAR)) | 85 | (`(,_ . ,_) (BAR)) |
| 86 | ('(a b) (FOO)))))) | 86 | ('(a b) (FOO)))))) |
| 87 | (let ((exp1 (macroexpand '(pcase EXP | 87 | (let ((exp1 (macroexpand '(pcase EXP |
| 88 | (`(`(,(or 'a1 'b1)) (FOO1))) | 88 | (`((,(or 'a1 'b1))) (FOO1)) |
| 89 | ('(c) (FOO2)) | 89 | ('(c) (FOO2)) |
| 90 | ('(d) (FOO3)))))) | 90 | ('(d) (FOO3)))))) |
| 91 | (should (= 1 (with-temp-buffer (prin1 exp1 (current-buffer)) | 91 | (should (= 1 (with-temp-buffer (prin1 exp1 (current-buffer)) |