]> Cypherpunks repositories - gostls13.git/commit
cmd/go: test that 'go mod tidy' uses transitive requirements from replacements
authorBryan C. Mills <bcmills@google.com>
Tue, 9 Oct 2018 18:23:34 +0000 (14:23 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 26 Oct 2018 19:49:32 +0000 (19:49 +0000)
commit160ee5d7f55cb20d9c4bb4f3285c1bc0025edf3c
treea129c95c49f65504020b34c44bd34f48f78820f8
parenteecb5fd10e519e7ed498bf652d2289047369f7b0
cmd/go: test that 'go mod tidy' uses transitive requirements from replacements

The existing mod_tidy test uses replacements, but doesn't replace
modules that can also be resolved by fetching from GOPROXY, and
doesn't check the differences between the internal and external views.

This new test clarifies that interaction with a more realistic example.

Change-Id: I2bb2028148f4b7b95c3bfcc54b3976a49515379a
Reviewed-on: https://go-review.googlesource.com/c/140859
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/testdata/script/mod_tidy_replace.txt [new file with mode: 0644]