]> git.eshelyaron.com Git - emacs.git/commit
Provide ERT explainer for 'eshell-match-command-output'
authorJim Porter <jporterbugs@gmail.com>
Sun, 14 Aug 2022 03:31:11 +0000 (20:31 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 16 Aug 2022 03:40:27 +0000 (20:40 -0700)
commit07b8fb197a3057a3419be0335236547e4d7a326b
tree52b631c5f3cc6370223e1d9f7920b7b3af37f197
parent1973d4ac1b613bdd6c70e1ef2bac97b538fbb2ed
Provide ERT explainer for 'eshell-match-command-output'

This was formerly named 'eshell-command-result-p', but "result" isn't
quite the right terminology, since this function specifically tested
the output of a command, not its Lisp result (as
'eshell-command-result' would return).

* test/lisp/eshell/eshell-tests-helpers.el (eshell-insert-command):
Provide a more-complete docstring.
(eshell-match-result): Rename to...
(eshell-match-output): ... this.
(eshell-match-output--explainer): New function.
(eshell-command-result-p): Rename to...
(eshell-match-command-output): ... this.

* test/lisp/eshell/em-alias-tests.el
* test/lisp/eshell/em-dirs-tests.el
* test/lisp/eshell/em-extpipe-tests.el
* test/lisp/eshell/em-script-tests.el
* test/lisp/eshell/esh-cmd-tests.el
* test/lisp/eshell/esh-proc-tests.el
* test/lisp/eshell/esh-var-tests.el
* test/lisp/eshell/eshell-tests-helpers.el
* test/lisp/eshell/eshell-tests.el: Use 'eshell-match-command-output'.
test/lisp/eshell/em-alias-tests.el
test/lisp/eshell/em-dirs-tests.el
test/lisp/eshell/em-extpipe-tests.el
test/lisp/eshell/em-script-tests.el
test/lisp/eshell/esh-cmd-tests.el
test/lisp/eshell/esh-proc-tests.el
test/lisp/eshell/esh-var-tests.el
test/lisp/eshell/eshell-tests-helpers.el
test/lisp/eshell/eshell-tests.el