Commit 4258b43a authored by Elias Naur's avatar Elias Naur Committed by Brad Fitzpatrick

cmd/compile,go/build,internal/cpu: gofmt

I don't know why these files were not formatted. Perhaps because
their changes came from Github PRs?

Change-Id: Ida8d7b9a36f0d1064caf74ca1911696a247a9bbe
Reviewed-on: https://go-review.googlesource.com/114824
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 51e19d60
...@@ -177,7 +177,7 @@ func TestShouldBuild(t *testing.T) { ...@@ -177,7 +177,7 @@ func TestShouldBuild(t *testing.T) {
} }
func TestGoodOSArchFile(t *testing.T) { func TestGoodOSArchFile(t *testing.T) {
ctx := &Context{BuildTags: []string{"linux"}, GOOS:"darwin"} ctx := &Context{BuildTags: []string{"linux"}, GOOS: "darwin"}
m := map[string]bool{} m := map[string]bool{}
want := map[string]bool{"linux": true} want := map[string]bool{"linux": true}
if !ctx.goodOSArchFile("hello_linux.go", m) { if !ctx.goodOSArchFile("hello_linux.go", m) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment