Function: ert-test-result-expected-p
ert-test-result-expected-p is a byte-compiled function defined in
ert.el.gz.
Signature
(ert-test-result-expected-p TEST RESULT)
Documentation
Return non-nil if TEST's expected result type matches RESULT.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert-test-result-expected-p (test result)
"Return non-nil if TEST's expected result type matches RESULT."
(or
(ert-test-result-type-p result :skipped)
(ert-test-result-type-p result (ert-test-expected-result-type test))))