summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-06-09 11:21:00 +0200
committerLudovic Courtès <ludo@gnu.org>2023-06-09 14:19:14 +0200
commit213d3cad6aa9207a86d22cdd31d2e1a978e5f017 (patch)
treefaf05d736c0ec36337295a3c2f375b8f7ad4355b /tests
parent12fd3a97558eeb0cc3a15498a5b6db1d2c7e6942 (diff)
tests: Adjust minetest tests.
Fixes a regression introduced in e7910f4882d520fcf8920df9ff4ddb00eb9ee41d. * tests/minetest.scm (call-with-packages): Add #:timeout parameter to 'http-fetch' mock.
Diffstat (limited to 'tests')
-rw-r--r--tests/minetest.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/minetest.scm b/tests/minetest.scm
index cbb9e83889..78469bf95b 100644
--- a/tests/minetest.scm
+++ b/tests/minetest.scm
@@ -194,7 +194,7 @@
(scm->json-port
(list->vector (filter-map argument-list->json sorted-argument-lists))))
(mock ((guix http-client) http-fetch
- (lambda* (url #:key headers)
+ (lambda* (url #:key headers timeout)
(unless (string-prefix? "mock://api/packages/" url)
(error "the URL ~a should not be used" url))
(define resource