From: Michael Albinus Date: Sun, 19 May 2019 11:34:01 +0000 (+0000) Subject: * test/lisp/autorevert-tests.el (auto-revert--deftest-remote): X-Git-Tag: emacs-27.0.90~2823 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9199643ab2c38cd9e7f81ccff4485463f376e19d;p=emacs.git * test/lisp/autorevert-tests.el (auto-revert--deftest-remote): Do not handle errors. --- diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el index 8cdddf824d8..af9edac1bea 100644 --- a/test/lisp/autorevert-tests.el +++ b/test/lisp/autorevert-tests.el @@ -140,7 +140,6 @@ This expects `auto-revert--messages' to be bound by `(ert-deftest ,(intern (concat (symbol-name test) "-remote")) () ,docstring :tags '(:expensive-test) - (condition-case err (let ((temporary-file-directory auto-revert-test-remote-temporary-file-directory) (auto-revert-remote-files t) @@ -149,8 +148,7 @@ This expects `auto-revert--messages' to be bound by (skip-unless (auto-revert--test-enabled-remote)) (tramp-cleanup-connection (tramp-dissect-file-name temporary-file-directory) nil 'keep-password) - (funcall (ert-test-body ert-test))) - (error (message "%s" err))))) + (funcall (ert-test-body ert-test))))) (ert-deftest auto-revert-test00-auto-revert-mode () "Check autorevert for a file."