all: add -mod=vendor to GOFLAGS in tests that execute 'go' commands within std or cmd

Updates #30228
Updates #30240
Updates #30241

Change-Id: Idc311ba77e99909318b5b86f8ef82d4878f73e47
Reviewed-on: https://go-review.googlesource.com/c/go/+/165378
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-05 08:51:44 -05:00
parent e44a031651
commit 9670e81c2e
18 changed files with 59 additions and 18 deletions

View file

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