aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-11-17 20:28:16 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-11-17 20:32:50 +0900
commit94133452aa49de672d69950b2e1a99432111074c (patch)
treef8311dd4eeab0265798d379c2171a9188c68783e /tests
parentdb4ef36acc4aa03094bfce7b491613b64f3e4fa5 (diff)
downloadguix-94133452aa49de672d69950b2e1a99432111074c.tar
guix-94133452aa49de672d69950b2e1a99432111074c.tar.gz
tests: Fix the 'go-module->guix-package' test.
This fixes a regression that would have been introduced by commit a8b927a562a ("import: go: Add an option to use pinned versions.") which is already 3 years old (!). * tests/go.scm (fixtures-go-check-test): Register new URL and data for http-fetch and http-get mocks. Change-Id: Ie9d306612971de54ce534563731f52baf64bc8e7
Diffstat (limited to 'tests')
-rw-r--r--tests/go.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/go.scm b/tests/go.scm
index f925c485c1..1ba089c788 100644
--- a/tests/go.scm
+++ b/tests/go.scm
@@ -136,7 +136,9 @@ replace (
(define fixtures-go-check-test
(let ((version
- "{\"Version\":\"v0.0.0-20201130134442-10cb98267c6c\",\"Time\":\"2020-11-30T13:44:42Z\"}")
+ "{\"Version\":\"v0.0.0-20201130134442-10cb98267c6c\",\"Time\":\"2020-11-30T13:44:42Z\"}")
+ (go.info
+ "{\"Version\":\"v0.0.0-20201130134442-10cb98267c6c\",\"Time\":\"2020-11-30T13:44:42Z\"}")
(go.mod
"module gopkg.in/check.v1
@@ -174,6 +176,8 @@ require github.com/kr/pretty v0.2.1
. ,go.mod)
("https://proxy.golang.org/github.com/go-check/check/@latest"
. ,version)
+ ("https://proxy.golang.org/github.com/go-check/check/@v/v0.0.0-20201130134442-10cb98267c6c.info"
+ . ,go.info)
("https://github.com/go-check/check?go-get=1"
. ,go-get)
("https://pkg.go.dev/github.com/go-check/check"