Commit 774da197 authored by Philipp Stephani's avatar Philipp Stephani

Add ERT explainer for 'tramp--test-file-attributes-equal-p'

* test/lisp/net/tramp-tests.el (tramp--test-file-attributes-equal-p):
Use ERT explainer for 'equal' to improve failure messages.
parent 2116dfff
Pipeline #1332 failed with stage
in 53 minutes and 16 seconds
......@@ -3011,6 +3011,9 @@ They might differ only in access time."
(setcar (nthcdr 4 attr2) tramp-time-dont-know)
(equal attr1 attr2))
;; This isn't 100% correct, but better than no explainer at all.
(put #'tramp--test-file-attributes-equal-p 'ert-explainer #'ert--explain-equal)
(ert-deftest tramp-test19-directory-files-and-attributes ()
"Check `directory-files-and-attributes'."
(skip-unless (tramp--test-enabled))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment