]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace use of obsolete eshell-kill-output in test
authorMattias EngdegÄrd <mattiase@acm.org>
Fri, 23 Feb 2024 12:14:18 +0000 (13:14 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:42:25 +0000 (18:42 +0100)
* test/lisp/eshell/eshell-tests.el (eshell-test/flush-output):
Use eshell-delete-output instead of eshell-kill-output.

(cherry picked from commit a8f167547bc15eacaf5fbc07c1e75f603e70862d)

test/lisp/eshell/eshell-tests.el

index e01e033e25e135f8dff4acf685abe6d8face7ff5..e58b5a14ed9ce8513ae412653617791e05ec62a4 100644 (file)
@@ -153,7 +153,7 @@ insert the queued one at the next prompt, and finally run it."
   "Test flushing of previous output"
   (with-temp-eshell
    (eshell-insert-command "echo alpha")
-   (eshell-kill-output)
+   (eshell-delete-output)
    (should (eshell-match-output
             (concat "^" (regexp-quote "*** output flushed ***\n") "$")))))