tests: go: Fix typo.

* tests/go.scm (fixture-go-mod-unparseable): Rename this…
(fixture-go-mod-unparsable): …to this.  Adjust the only caller.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-27 16:15:40 +02:00
parent b0c03aa4d8
commit 770ae09860
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ replace (
")
(define fixture-go-mod-unparseable
(define fixture-go-mod-unparsable
"module my/thing
go 1.12 // avoid feature X
require other/thing v1.0.2
@ -263,7 +263,7 @@ require github.com/kr/pretty v0.2.1
(with (module-path "good/thing") (version "v1.4.5"))))
(parse-go.mod fixture-go-mod-simple))
(test-equal "parse-go.mod: comments and unparseable lines"
(test-equal "parse-go.mod: comments and unparsable lines"
`((module (module-path "my/thing"))
(go (version "1.12") (comment "avoid feature X"))
(require (module-path "other/thing") (version "v1.0.2"))
@ -274,7 +274,7 @@ require github.com/kr/pretty v0.2.1
(with (module-path "good/thing") (version "v1.4.5")))
(comment "Unparseable")
(unknown "bad/thing [v1.4.5, v1.9.7] => good/thing v2.0.0"))
(parse-go.mod fixture-go-mod-unparseable))
(parse-go.mod fixture-go-mod-unparsable))
(test-equal "parse-go.mod: retract"
`((retract (version "v0.9.1"))