From 0271d41ed63cacd1d79716161d0797790e930dfa Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Fri, 8 Mar 2019 13:26:04 -0500 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Jay Conrod --- src/cmd/nm/nm_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cmd/nm/nm_test.go') diff --git a/src/cmd/nm/nm_test.go b/src/cmd/nm/nm_test.go index 82f4235510..8176ddd7f4 100644 --- a/src/cmd/nm/nm_test.go +++ b/src/cmd/nm/nm_test.go @@ -30,8 +30,6 @@ func testMain(m *testing.M) int { return 0 } - testenv.SetModVendor() - tmpDir, err := ioutil.TempDir("", "TestNM") if err != nil { fmt.Println("TempDir failed:", err) -- cgit v1.3