From c825e86a855be892d573fb3412db3494d79e4b4e Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Thu, 24 Oct 2019 15:07:04 -0400 Subject: [PATCH] internal/imports: skip TestStdlibNotPrefixed At tip, $GOROOT/src/go.mod is 1.14, $GOROOT/src/vendor exists, and so vendor mode is automatically enabled. That causes golang/go#34826. This will be fixed by my upcoming vendoring CL, but for now skip. Updates golang/go#34826 Change-Id: I5fff51fff54cf83e6369ae76bf3b19cfb7b5ac15 Reviewed-on: https://go-review.googlesource.com/c/tools/+/203257 Run-TryBot: Heschi Kreinick Run-TryBot: Rebecca Stambler Reviewed-by: Rebecca Stambler TryBot-Result: Gobot Gobot --- internal/imports/fix_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/imports/fix_test.go b/internal/imports/fix_test.go index 6dafd40bac..b708e36051 100644 --- a/internal/imports/fix_test.go +++ b/internal/imports/fix_test.go @@ -1544,6 +1544,7 @@ func TestFindStdlib(t *testing.T) { // https://golang.org/issue/31814 func TestStdlibNotPrefixed(t *testing.T) { + t.Skip("'go list -m -mod=vendor' currently not allowed: see golang.org/issue/34826") const input = `package p var _ = bytes.Buffer `