guix-commits
[Top][All Lists]
Advanced

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

branch master updated: tests: go: Remove duplicate go-version->git-ref t


From: guix-commits
Subject: branch master updated: tests: go: Remove duplicate go-version->git-ref test.
Date: Wed, 05 May 2021 01:02:50 -0400

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 2354d79  tests: go: Remove duplicate go-version->git-ref test.
2354d79 is described below

commit 2354d79b88e80b34593dfdeb307ae602e21dcc8a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed May 5 00:58:04 2021 -0400

    tests: go: Remove duplicate go-version->git-ref test.
    
    The duplicate test being removed has not much value given that
    go-version->git-ref is a no-op for version strings not matching the
    %go-pseudo-version-rx regexp; that case is already tested by the test above.
    
    * tests/go.scm ("go-version omited 'v' character"): Remove test.
    
    Reported-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 tests/go.scm | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/go.scm b/tests/go.scm
index c33a834..b088ab5 100644
--- a/tests/go.scm
+++ b/tests/go.scm
@@ -158,10 +158,6 @@ require github.com/kr/pretty v0.2.1
   "v1.0.2"
   (go-version->git-ref "v1.0.2"))
 
-(test-equal "go-version omited 'v' character"
-  "v1.0.2"
-  (go-version->git-ref "v1.0.2"))
-
 (test-equal "go-version with embedded git-ref"
   "65e3620a7ae7"
   (go-version->git-ref "v0.0.0-20190821162956-65e3620a7ae7"))



reply via email to

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