diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-03-08 13:26:04 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-03-08 23:40:24 +0000 |
commit | 0271d41ed63cacd1d79716161d0797790e930dfa (patch) | |
tree | d66cb17b4bd0cf6dea4c789f3b6f78b40daa8215 /src/runtime/crash_test.go | |
parent | 632162ccbc61a7321f322b1b99c04aefc414802b (diff) | |
download | go-0271d41ed63cacd1d79716161d0797790e930dfa.tar.gz go-0271d41ed63cacd1d79716161d0797790e930dfa.zip |
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>
Diffstat (limited to 'src/runtime/crash_test.go')
-rw-r--r-- | src/runtime/crash_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 3a27b269a1..03ebf022a6 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -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) |