]> git.eshelyaron.com Git - emacs.git/commitdiff
; Help ERC test fixture better withstand reordering
authorF. Jason Park <jp@neverwas.me>
Fri, 1 Jul 2022 00:15:25 +0000 (17:15 -0700)
committerF. Jason Park <jp@neverwas.me>
Fri, 1 Jul 2022 00:22:32 +0000 (17:22 -0700)
* test/lisp/erc/erc-tests.el (erc-tests--with-process-input-spy):
Shadow hook to prevent the erc-button module from interfering with
tests using this helper.

test/lisp/erc/erc-tests.el

index 62bea8fb3f005c59c9a7e3d32680c92db9828fcb..4971d0e194fb33f7f0fb75af5b1f3d29ed6c8727 100644 (file)
            (erc-server-current-nick "tester")
            (erc-last-input-time 0)
            erc-accidental-paste-threshold-seconds
+           erc-send-modify-hook
            ;;
            calls)
       (cl-letf (((symbol-function 'erc-process-input-line)