mirror of
https://github.com/golang/go
synced 2024-11-13 13:30:24 -07:00
go/internal/gcimporter: cleanup test code pre Unified IR
Same as CL 543315 did for cmd/compile. Change-Id: I56a200664c92fe34d4b78c2dbf6ed56288e89e0e Reviewed-on: https://go-review.googlesource.com/c/go/+/600675 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
eb3dd019ed
commit
deed521ea3
@ -99,12 +99,7 @@ func TestImportTestdata(t *testing.T) {
|
||||
"exports.go": {"go/ast", "go/token"},
|
||||
"generics.go": nil,
|
||||
}
|
||||
if true /* was goexperiment.Unified */ {
|
||||
// TODO(mdempsky): Fix test below to flatten the transitive
|
||||
// Package.Imports graph. Unified IR is more precise about
|
||||
// recreating the package import graph.
|
||||
testfiles["exports.go"] = []string{"go/ast"}
|
||||
}
|
||||
testfiles["exports.go"] = []string{"go/ast"}
|
||||
|
||||
for testfile, wantImports := range testfiles {
|
||||
tmpdir := mktmpdir(t)
|
||||
|
Loading…
Reference in New Issue
Block a user