Function: ert-fail

ert-fail is a byte-compiled function defined in ert.el.gz.

Signature

(ert-fail DATA)

Documentation

Terminate the current test and mark it failed. Does not return.

DATA is displayed to the user and should state the reason of the failure.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert-fail (data)
  "Terminate the current test and mark it failed.  Does not return.
DATA is displayed to the user and should state the reason of the failure."
  (signal 'ert-test-failed (list data)))