diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 7f8b71180d2..7b90bb4d9be 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -8851,7 +8851,7 @@ Since it unloads Tramp, it shall be the last test to run." (string-match-p (rx bol "with" (| "tramp" "parsed")) (symbol-name x)) ;; `tramp-register-archive-file-name-handler' is autoloaded ;; in Emacs < 29.1. - (not (eq #'tramp-register-archive-file-name-handler x)) + (not (eq 'tramp-register-archive-file-name-handler x)) ;; `tramp-compat-rx' is autoloaded in Emacs 29.1. (not (eq 'tramp-compat-rx x)) (not (string-match-p