civodul pushed a commit to branch master
in repository guix.
commit 213d3cad6aa9207a86d22cdd31d2e1a978e5f017
Author: Ludovic Courtès <[email protected]>
AuthorDate: Fri Jun 9 11:21:00 2023 +0200
tests: Adjust minetest tests.
Fixes a regression introduced in
e7910f4882d520fcf8920df9ff4ddb00eb9ee41d.
* tests/minetest.scm (call-with-packages): Add #:timeout parameter to
'http-fetch' mock.
---
tests/minetest.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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