summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/eshell/eshell-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/eshell/eshell-tests.el b/test/lisp/eshell/eshell-tests.el
index 8c049cb342d..bf7ec0389f0 100644
--- a/test/lisp/eshell/eshell-tests.el
+++ b/test/lisp/eshell/eshell-tests.el
@@ -150,7 +150,7 @@ This test uses a pipeline for the command."
(eshell-command "*echo hi | *cat &")
(with-current-buffer "*Eshell Async Command Output*"
(goto-char (point-min))
- (should (looking-at "\\[cat\\(\\.exe\\)\\(<[0-9]+>\\)?\\]"))))))
+ (should (looking-at "\\[cat\\(\\.exe\\)?\\(<[0-9]+>\\)?\\]"))))))
(ert-deftest eshell-test/command-running-p ()
"Modeline should show no command running"