Skip to content

Commit b75dab2

Browse files
adonovangopherbot
authored andcommitted
internal/typesinternal/typeindex: suppress test on js
Fixes golang/go#73043 Change-Id: Ia0524bb45562095356984693f705a51fb0a35224 Reviewed-on: https://go-review.googlesource.com/c/tools/+/660735 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]>
1 parent 7efe9a8 commit b75dab2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/typesinternal/typeindex/typeindex_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ import (
1515
"golang.org/x/tools/go/packages"
1616
"golang.org/x/tools/go/types/typeutil"
1717
"golang.org/x/tools/internal/astutil/cursor"
18+
"golang.org/x/tools/internal/testenv"
1819
"golang.org/x/tools/internal/typesinternal/typeindex"
1920
)
2021

2122
func TestIndex(t *testing.T) {
23+
testenv.NeedsGoPackages(t)
2224
var (
2325
pkg = loadNetHTTP(t)
2426
inspect = inspector.New(pkg.Syntax)

0 commit comments

Comments
 (0)