projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d8eee
)
; Improve 'rx' form from edb0862f5e69
author
Jim Porter
<jporterbugs@gmail.com>
Mon, 19 Jun 2023 20:45:37 +0000
(13:45 -0700)
committer
Jim Porter
<jporterbugs@gmail.com>
Mon, 19 Jun 2023 20:45:37 +0000
(13:45 -0700)
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
patch
|
blob
|
history
diff --git
a/test/lisp/eshell/esh-util-tests.el
b/test/lisp/eshell/esh-util-tests.el
index 52b42fe915c94f6b6a150611e29c5e8187c26e2f..8585677e14ea8c523c143bb0cfdad75e33790fc5 100644
(file)
--- 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))")))