]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/net/tramp-tests.el: duck make-process bytecomp warning
authorMattias Engdegård <mattiase@acm.org>
Wed, 9 Aug 2023 12:57:07 +0000 (14:57 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 9 Aug 2023 13:05:35 +0000 (15:05 +0200)
test/lisp/net/tramp-tests.el

index a6c430fb1c03bd0ba614a18ecd89e928906e0894..b1d39c413dc1a4d2aed75ade10e039b42946ac5b 100644 (file)
@@ -5370,7 +5370,7 @@ If UNSTABLE is non-nil, the test is tagged as `:unstable'."
     (let ((default-directory ert-remote-temporary-file-directory)
          (tmp-name (tramp--test-make-temp-name nil quoted))
          kill-buffer-query-functions command proc)
-      (should-not (make-process))
+      (should-not (apply #'make-process nil))   ; use `apply' to avoid warnings
 
       ;; Simple process.
       (unwind-protect