internal/testenv: remove SetModVendor

It turns out not to be necessary. Russ expressed a preference for
avoiding module fetches over making 'go mod tidy' work within std and
cmd right away, so for now we will make the loader use the vendor
directory for the standard library even if '-mod=vendor' is not set
explicitly.

Updates #30228

Change-Id: Idf7208e63da8cb7bfe281b93ec21b61d40334947
Reviewed-on: https://go-review.googlesource.com/c/go/+/166357
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
Bryan C. Mills 2019-03-08 13:26:04 -05:00
parent 632162ccbc
commit 0271d41ed6
17 changed files with 0 additions and 56 deletions

View file

@ -38,8 +38,6 @@ func TestLargeSymName(t *testing.T) {
_ = AuthorPaidByTheColumnInch
}
func init() { testenv.SetModVendor() }
func TestIssue21703(t *testing.T) {
t.Parallel()