mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
632162ccbc
commit
0271d41ed6
17 changed files with 0 additions and 56 deletions
|
|
@ -25,8 +25,6 @@ import (
|
|||
var toRemove []string
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
testenv.SetModVendor()
|
||||
|
||||
status := m.Run()
|
||||
for _, file := range toRemove {
|
||||
os.RemoveAll(file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue