* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
Reenable lost test case.
(member
(format "%s:" method)
(file-name-all-completions (substring method 0 1) "/"))))
- (unless (or (zerop (length method)) (zerop (length host)))
+ (unless (zerop (length host))
+ (let ((tramp-default-method (or method tramp-default-method)))
+ (should
+ (member
+ (format "-:%s:" host)
+ (file-name-all-completions
+ (format "-:%s" (substring host 0 1)) "/")))))
+ (unless (or (zerop (length method)) (zerop (length host)))
(should
(member
(format "%s:%s:" method host)