Function: ert--results-move
ert--results-move is a byte-compiled function defined in ert.el.gz.
Signature
(ert--results-move NODE EWOC-FN ERROR-MESSAGE)
Documentation
Move point from NODE to the previous or next node.
EWOC-FN specifies the direction and should be either ewoc-prev
or ewoc-next. If there are no more nodes in that direction, a
user-error is signaled with the message ERROR-MESSAGE.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert--results-move (node ewoc-fn error-message)
"Move point from NODE to the previous or next node.
EWOC-FN specifies the direction and should be either `ewoc-prev'
or `ewoc-next'. If there are no more nodes in that direction, a
user-error is signaled with the message ERROR-MESSAGE."
(cl-loop
(setq node (funcall ewoc-fn ert--results-ewoc node))
(when (null node)
(user-error "%s" error-message))
(unless (ert--ewoc-entry-hidden-p (ewoc-data node))
(goto-char (ewoc-location node))
(cl-return))))