From 46209b2453b1a53fcf0019f6e1a21b7fef85bcbc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Apr 2023 09:55:29 +0300 Subject: [PATCH] ; Fix last change * test/lisp/eshell/eshell-tests.el (eshell-test/eshell-command/background-pipeline): Fix last change. --- test/lisp/eshell/eshell-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2