guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: tests: Fix the 'go-module->guix-package' test.


From: guix-commits
Subject: branch master updated: tests: Fix the 'go-module->guix-package' test.
Date: Sun, 17 Nov 2024 06:34:08 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 94133452aa tests: Fix the 'go-module->guix-package' test.
94133452aa is described below

commit 94133452aa49de672d69950b2e1a99432111074c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Nov 17 20:28:16 2024 +0900

    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
---
 tests/go.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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";



reply via email to

[Prev in Thread] Current Thread [Next in Thread]