~ruther/guix-local

94133452aa49de672d69950b2e1a99432111074c — Maxim Cournoyer 1 year, 11 months ago db4ef36
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
1 files changed, 5 insertions(+), 1 deletions(-)

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