Commit e4c0e9df authored by Baokun Lee's avatar Baokun Lee Committed by Jay Conrod

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: default avatarJay Conrod <jayconrod@google.com>
parent 19f5c233
...@@ -24,7 +24,7 @@ stdout 'rsc.io/sampler v1.0.0' ...@@ -24,7 +24,7 @@ stdout 'rsc.io/sampler v1.0.0'
# test dep replacement # test dep replacement
cd y cd y
go mod init go mod init
cmp go.mod go.mod.replace cmpenv go.mod go.mod.replace
-- go.mod1 -- -- go.mod1 --
module x module x
...@@ -50,7 +50,7 @@ import _ "z" ...@@ -50,7 +50,7 @@ import _ "z"
-- y/go.mod.replace -- -- y/go.mod.replace --
module y module y
go 1.13 go $goversion
replace z v1.0.0 => rsc.io/quote v1.0.0 replace z v1.0.0 => rsc.io/quote v1.0.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment