summaryrefslogtreecommitdiff
path: root/tests/cpan.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpan.scm')
-rw-r--r--tests/cpan.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cpan.scm b/tests/cpan.scm
index 0c28a74d3e..8b588517c9 100644
--- a/tests/cpan.scm
+++ b/tests/cpan.scm
@@ -72,7 +72,7 @@
test-source)
(_ (error "Unexpected URL: " url))))))))
(mock ((guix http-client) http-fetch
- (lambda (url)
+ (lambda (url . rest)
(match url
("https://api.metacpan.org/release/Foo-Bar"
(values (open-input-string test-json)