emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f652566af51 1/2: ; Silence byte-compiler


From: Stefan Kangas
Subject: master f652566af51 1/2: ; Silence byte-compiler
Date: Mon, 6 Jan 2025 04:18:27 -0500 (EST)

branch: master
commit f652566af51079428526a3312512214b82ed8728
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Silence byte-compiler
    
    * test/lisp/net/browse-url-tests.el
    (browse-url-tests-delete-temp-file): Suppress warning.
---
 test/lisp/net/browse-url-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/browse-url-tests.el 
b/test/lisp/net/browse-url-tests.el
index 45339284fd6..337d127434f 100644
--- a/test/lisp/net/browse-url-tests.el
+++ b/test/lisp/net/browse-url-tests.el
@@ -104,7 +104,8 @@
     (browse-url-delete-temp-file)
     (should-not (file-exists-p browse-url-temp-file-name)))
   (ert-with-temp-file file
-    (browse-url-delete-temp-file file)
+    (with-suppressed-warnings ((callargs browse-url-delete-temp-file))
+      (browse-url-delete-temp-file file))
     (should-not (file-exists-p file))))
 
 (ert-deftest browse-url-tests-add-buttons ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]