Function: ert-results-toggle-printer-limits-for-test-at-point

ert-results-toggle-printer-limits-for-test-at-point is an interactive and byte-compiled function defined in ert.el.gz.

Signature

(ert-results-toggle-printer-limits-for-test-at-point)

Documentation

Toggle how much of the condition to print for the test at point.

To be used in the ERT results buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert-results-toggle-printer-limits-for-test-at-point ()
  "Toggle how much of the condition to print for the test at point.

To be used in the ERT results buffer."
  (interactive nil ert-results-mode)
  (let* ((ewoc ert--results-ewoc)
         (node (ert--results-test-node-at-point))
         (entry (ewoc-data node)))
    (setf (ert--ewoc-entry-extended-printer-limits-p entry)
          (not (ert--ewoc-entry-extended-printer-limits-p entry)))
    (ewoc-invalidate ewoc node)))