1
0
mirror of https://github.com/golang/go synced 2024-11-17 16:14:42 -07:00

cmd/go: make modconv test more robust

Change-Id: I3e75201c56779eda1bcd725691c72d384da56f73
Reviewed-on: https://go-review.googlesource.com/c/go/+/174840
Run-TryBot: Baokun Lee <nototon@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
Baokun Lee 2019-05-02 18:34:04 +08:00 committed by Jay Conrod
parent 19f5c233d1
commit e4c0e9df8b

View File

@ -24,7 +24,7 @@ stdout 'rsc.io/sampler v1.0.0'
# test dep replacement
cd y
go mod init
cmp go.mod go.mod.replace
cmpenv go.mod go.mod.replace
-- go.mod1 --
module x
@ -50,7 +50,7 @@ import _ "z"
-- y/go.mod.replace --
module y
go 1.13
go $goversion
replace z v1.0.0 => rsc.io/quote v1.0.0