tests: go: Remove duplicate go-version->git-ref test.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 5 May 2021 04:58:04 +0000 (00:58 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Wed, 5 May 2021 04:58:04 +0000 (00:58 -0400)
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

index c33a834..b088ab5 100644 (file)
@@ -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"))