]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2023 06:55:29 +0000 (09:55 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2023 06:55:29 +0000 (09:55 +0300)
* test/lisp/eshell/eshell-tests.el
(eshell-test/eshell-command/background-pipeline): Fix last change.

test/lisp/eshell/eshell-tests.el

index 8c049cb342dbf77e6827e5f051414d44d331e2bd..bf7ec0389f07f3a5e1c7def6b2573ba673210b53 100644 (file)
@@ -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"