[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ef2a9b9779f: ; Improve 'rx' form from edb0862f5e69
From: |
Jim Porter |
Subject: |
master ef2a9b9779f: ; Improve 'rx' form from edb0862f5e69 |
Date: |
Mon, 19 Jun 2023 16:49:07 -0400 (EDT) |
branch: master
commit ef2a9b9779f87438958830747e97b0a37804a3d6
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
; 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))")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ef2a9b9779f: ; Improve 'rx' form from edb0862f5e69,
Jim Porter <=