Replace use of obsolete eshell-kill-output in test

* test/lisp/eshell/eshell-tests.el (eshell-test/flush-output):
Use eshell-delete-output instead of eshell-kill-output.
This commit is contained in:
Mattias Engdegård 2024-02-23 13:14:18 +01:00
parent 6803b70c19
commit a8f167547b

View 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") "$")))))