summaryrefslogtreecommitdiff
path: root/test/lisp/net/socks-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-10-21 06:06:13 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-21 06:06:23 +0200
commit8002fcd4b9678cbd732c92f26e01751687211911 (patch)
tree1e0bbf1740f389429aed72a058e57645a93af0f7 /test/lisp/net/socks-tests.el
parent4540130312b8e9dbbe930ba2ffb32e5e51560514 (diff)
downloademacs-8002fcd4b9678cbd732c92f26e01751687211911.tar.gz
emacs-8002fcd4b9678cbd732c92f26e01751687211911.tar.bz2
emacs-8002fcd4b9678cbd732c92f26e01751687211911.zip
Fix socks test
* test/lisp/net/socks-tests.el (socks-tests-v4-basic): Fix failure under native-comp (bug#51308).
Diffstat (limited to 'test/lisp/net/socks-tests.el')
-rw-r--r--test/lisp/net/socks-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/net/socks-tests.el b/test/lisp/net/socks-tests.el
index 9079c1bef2a..7fb885235c0 100644
--- a/test/lisp/net/socks-tests.el
+++ b/test/lisp/net/socks-tests.el
@@ -203,7 +203,7 @@ Vectors must match verbatim. Strings are considered regex patterns.")
(should (equal host "example.com"))
(list 93 184 216 34)))
((symbol-function 'user-full-name)
- (lambda () "foo")))
+ (lambda (&optional _) "foo")))
(socks-tests-perform-hello-world-http-request)))))
;; Replace first pattern below with ([5 3 0 1 2] . [5 2]) to validate