~ruther/guix-local

213d3cad6aa9207a86d22cdd31d2e1a978e5f017 — Ludovic Courtès 3 years ago 12fd3a9
tests: Adjust minetest tests.

Fixes a regression introduced in
e7910f4882d520fcf8920df9ff4ddb00eb9ee41d.

* tests/minetest.scm (call-with-packages): Add #:timeout parameter to
'http-fetch' mock.
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/minetest.scm
M tests/minetest.scm => tests/minetest.scm +1 -1
@@ 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