mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
tests: Fix the 'go-module->guix-package' test.
This fixes a regression that would have been introduced by commit
a8b927a562
("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
This commit is contained in:
parent
db4ef36acc
commit
94133452aa
1 changed files with 5 additions and 1 deletions
|
@ -137,6 +137,8 @@ (define fixture-go-mod-strings
|
||||||
(define fixtures-go-check-test
|
(define fixtures-go-check-test
|
||||||
(let ((version
|
(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
|
(go.mod
|
||||||
"module gopkg.in/check.v1
|
"module gopkg.in/check.v1
|
||||||
|
|
||||||
|
@ -174,6 +176,8 @@ (define fixtures-go-check-test
|
||||||
. ,go.mod)
|
. ,go.mod)
|
||||||
("https://proxy.golang.org/github.com/go-check/check/@latest"
|
("https://proxy.golang.org/github.com/go-check/check/@latest"
|
||||||
. ,version)
|
. ,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"
|
("https://github.com/go-check/check?go-get=1"
|
||||||
. ,go-get)
|
. ,go-get)
|
||||||
("https://pkg.go.dev/github.com/go-check/check"
|
("https://pkg.go.dev/github.com/go-check/check"
|
||||||
|
|
Loading…
Reference in a new issue