]> git.eshelyaron.com Git - emacs.git/commit
; Make ERC test fixture more robust
authorF. Jason Park <jp@neverwas.me>
Sat, 8 Feb 2025 02:54:22 +0000 (18:54 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Feb 2025 08:44:55 +0000 (09:44 +0100)
commita8b5ff4df039612aa94565ee6c530d8336917eec
tree3848e6d44fe2521a56e04c2245b2979ee91e3015
parenta155e80687dcd95118d77b0f15afb8d357de45c4
; Make ERC test fixture more robust

* test/lisp/erc/erc-tests.el (erc-tests--assert-printed-in-subprocess):
Scan for sentinel before reading.
(erc--find-mode, erc--essential-hook-ordering): Use contrived :result
protocol expected by `erc-tests--assert-printed-in-subprocess'.
* test/lisp/erc/resources/erc-tests-common.el
(erc-tests-common-create-subprocess): Divert stderr to messages buffer.

(cherry picked from commit 028913c446b8f06288f2e17be91aef701dc58ba4)
test/lisp/erc/erc-tests.el
test/lisp/erc/resources/erc-tests-common.el