1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:24:43 -07:00

go/build: fix build

empty is already not a nil.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5375097
This commit is contained in:
Mikio Hara 2011-11-15 10:27:43 +09:00
parent 3bd5082f57
commit 301701d8a7

View File

@ -40,6 +40,7 @@ var buildPkgs = []struct {
GoFiles: []string{"main.go"},
Package: "main",
Imports: []string{"go/build/pkgtest"},
TestImports: []string{},
},
},
{
@ -48,6 +49,7 @@ var buildPkgs = []struct {
CgoFiles: []string{"cgotest.go"},
CFiles: []string{"cgotest.c"},
Imports: []string{"C", "unsafe"},
TestImports: []string{},
Package: "cgotest",
},
},