mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
Fix Tramp test
* test/lisp/net/tramp-tests.el (tramp-test48-unload): Ignore autoload functions in `tramp-file-name' structure tests, since `tramp-file-name-handler' is also autoloaded.
This commit is contained in:
parent
f325b091c1
commit
87ac0b945f
@ -7590,7 +7590,7 @@ Since it unloads Tramp, it shall be the last test to run."
|
||||
(should-not (cl--find-class 'tramp-file-name))
|
||||
(mapatoms
|
||||
(lambda (x)
|
||||
(and (functionp x)
|
||||
(and (functionp x) (null (autoloadp (symbol-function x)))
|
||||
(string-match-p "tramp-file-name" (symbol-name x))
|
||||
(ert-fail (format "Structure function `%s' still exists" x)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user