aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorMattias EngdegÄrd2024-02-23 13:14:18 +0100
committerMattias EngdegÄrd2024-02-23 13:14:18 +0100
commita8f167547bc15eacaf5fbc07c1e75f603e70862d (patch)
tree0798afb2d68f8042d7d9bb646940e8f238b58030 /test/lisp
parent6803b70c1972bc82f7dc1f1d6bbb2a60b6f40367 (diff)
downloademacs-a8f167547bc15eacaf5fbc07c1e75f603e70862d.tar.gz
emacs-a8f167547bc15eacaf5fbc07c1e75f603e70862d.zip
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.
Diffstat (limited to 'test/lisp')
-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 e01e033e25e..e58b5a14ed9 100644
--- a/test/lisp/eshell/eshell-tests.el
+++ b/test/lisp/eshell/eshell-tests.el
@@ -153,7 +153,7 @@ insert the queued one at the next prompt, and finally run it."
153 "Test flushing of previous output" 153 "Test flushing of previous output"
154 (with-temp-eshell 154 (with-temp-eshell
155 (eshell-insert-command "echo alpha") 155 (eshell-insert-command "echo alpha")
156 (eshell-kill-output) 156 (eshell-delete-output)
157 (should (eshell-match-output 157 (should (eshell-match-output
158 (concat "^" (regexp-quote "*** output flushed ***\n") "$"))))) 158 (concat "^" (regexp-quote "*** output flushed ***\n") "$")))))
159 159