mirror of
https://github.com/golang/go
synced 2024-11-05 20:06:10 -07:00
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 <heschi@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
5228f4b59c
commit
c825e86a85
@ -1544,6 +1544,7 @@ func TestFindStdlib(t *testing.T) {
|
|||||||
|
|
||||||
// https://golang.org/issue/31814
|
// https://golang.org/issue/31814
|
||||||
func TestStdlibNotPrefixed(t *testing.T) {
|
func TestStdlibNotPrefixed(t *testing.T) {
|
||||||
|
t.Skip("'go list -m -mod=vendor' currently not allowed: see golang.org/issue/34826")
|
||||||
const input = `package p
|
const input = `package p
|
||||||
var _ = bytes.Buffer
|
var _ = bytes.Buffer
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user