Function: ert-equal-including-properties
ert-equal-including-properties is a byte-compiled function defined in
ert.el.gz.
Signature
(ert-equal-including-properties A B)
Documentation
Return t if A and B have similar structure and contents.
This is like equal-including-properties except that it compares
the property values of text properties structurally (by
recursing) rather than with eq. Perhaps this is what
equal-including-properties should do in the first place; see
Emacs bug 6581 at URL https://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;;; Copies/reimplementations of cl functions.
(defun ert-equal-including-properties (a b)
"Return t if A and B have similar structure and contents.
This is like `equal-including-properties' except that it compares
the property values of text properties structurally (by
recursing) rather than with `eq'. Perhaps this is what
`equal-including-properties' should do in the first place; see
Emacs bug 6581 at URL `https://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581'."
;; This implementation is inefficient. Rather than making it
;; efficient, let's hope bug 6581 gets fixed so that we can delete
;; it altogether.
(not (ert--explain-equal-including-properties a b)))