mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
b0c03aa4d8
commit
770ae09860
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ (define fixture-go-mod-complete
|
|||
|
||||
")
|
||||
|
||||
(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 @@ (define (inf? p1 p2)
|
|||
(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 @@ (define (inf? p1 p2)
|
|||
(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"))
|
||||
|
|
Loading…
Reference in a new issue