Skip to content

Commit 4669dc7

Browse files
findleyrgopherbot
authored andcommitted
gopls/internal/test/marker: simplify seedCache file
Simplify the file used to seed the marker test cache, as suggested in CL 588940. Change-Id: I421a3e013fcc17f2c6ab2ff5c269e6f360ca9d6e Reviewed-on: https://go-review.googlesource.com/c/tools/+/588942 Auto-Submit: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
1 parent 6887e99 commit 4669dc7

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

gopls/internal/test/marker/marker_test.go

+4-11
Original file line numberDiff line numberDiff line change
@@ -296,17 +296,10 @@ func seedCache(t *testing.T, cache *cache.Cache) {
296296
// The the doc string for details on how this seed was produced.
297297
seed := `package p
298298
import (
299-
"net/http"
300-
"sort"
301-
"go/types"
302-
"testing"
303-
)
304-
305-
var (
306-
_ = http.Serve
307-
_ = sort.Slice
308-
_ types.Type
309-
_ testing.T
299+
_ "net/http"
300+
_ "sort"
301+
_ "go/types"
302+
_ "testing"
310303
)
311304
`
312305

0 commit comments

Comments
 (0)