From: Baokun Lee Date: Thu, 2 May 2019 10:34:04 +0000 (+0800) Subject: cmd/go: make modconv test more robust X-Git-Tag: go1.13beta1~441 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e4c0e9df8b328395570948f1b3fa4dc3235432f0;p=gostls13.git cmd/go: make modconv test more robust Change-Id: I3e75201c56779eda1bcd725691c72d384da56f73 Reviewed-on: https://go-review.googlesource.com/c/go/+/174840 Run-TryBot: Baokun Lee TryBot-Result: Gobot Gobot Reviewed-by: Jay Conrod --- diff --git a/src/cmd/go/testdata/script/mod_init_dep.txt b/src/cmd/go/testdata/script/mod_init_dep.txt index 8cb3fa836e..755076eae8 100644 --- a/src/cmd/go/testdata/script/mod_init_dep.txt +++ b/src/cmd/go/testdata/script/mod_init_dep.txt @@ -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