From: Michael Albinus Date: Wed, 10 Jul 2024 16:28:43 +0000 (+0200) Subject: ; * test/lisp/net/dbus-tests.el: Fix thinko. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7e3d43ebaa35b00b8b5e95ce6d65024badc811c;p=emacs.git ; * test/lisp/net/dbus-tests.el: Fix thinko. (cherry picked from commit 29aeed7218c77180eef8afac6056af103069b4b2) --- diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el index eb6fc5c28cf..d36c4924c75 100644 --- a/test/lisp/net/dbus-tests.el +++ b/test/lisp/net/dbus-tests.el @@ -791,10 +791,10 @@ Returns the respective error." ;; Check parsing. "org.freedesktop.DBus.ListNames" is agnostic to ;; :authorizable, so we can use it as test method. - (unless (dbus-ignore-errors - (dbus-call-method - :session dbus-service-dbus dbus-path-dbus - dbus-interface-dbus "ListNames")) + (when (dbus-ignore-errors + (dbus-call-method + :session dbus-service-dbus dbus-path-dbus + dbus-interface-dbus "ListNames")) (should (dbus-call-method :session dbus-service-dbus dbus-path-dbus