From ef2a9b9779f87438958830747e97b0a37804a3d6 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Mon, 19 Jun 2023 13:45:37 -0700 Subject: [PATCH] ; Improve 'rx' form from edb0862f5e69 Thanks to Michael Albinus for the suggestion. * test/lisp/eshell/esh-util-tests.el (esh-util-test/eshell-stringify/list): Use 'any' instead of 'or' in 'rx' form. --- test/lisp/eshell/esh-util-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/eshell/esh-util-tests.el b/test/lisp/eshell/esh-util-tests.el index 52b42fe915c..8585677e14e 100644 --- a/test/lisp/eshell/esh-util-tests.el +++ b/test/lisp/eshell/esh-util-tests.el @@ -52,7 +52,7 @@ ;; no leading/trailing whitespace. (should (equal (eshell-stringify '(1 2 3)) "(1 2 3)")) (should (equal (replace-regexp-in-string - (rx (+ (or space "\n"))) " " + (rx (+ (any space "\n"))) " " (eshell-stringify '((1 2) (3 . 4)))) "((1 2) (3 . 4))"))) -- 2.39.2