1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:05:06 -07:00

go.tools/ssa/interp: fix build breakage.

(intersecting changes in client)

R=gri, gri
CC=golang-dev
https://golang.org/cl/24100046
This commit is contained in:
Alan Donovan 2013-11-13 18:50:24 -05:00
parent d1184e294e
commit 75d66fbb7b

View File

@ -320,7 +320,7 @@ func TestTestmainPackage(t *testing.T) {
// CreateTestMainPackage should return nil if there were no tests.
func TestNullTestmainPackage(t *testing.T) {
imp := importer.New(&importer.Config{Build: build.Default})
imp := importer.New(&importer.Config{Build: &build.Default})
files, err := importer.ParseFiles(imp.Fset, ".", "testdata/b_test.go")
if err != nil {
t.Fatalf("ParseFiles failed: %s", err)