Commit 78cee46f authored by Mikio Hara's avatar Mikio Hara

src: gofmt -w -s

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6935059
parent 0b50a5da
......@@ -128,7 +128,7 @@ func (ce colElem) tertiary() uint8 {
} else if ce&ceTypeMask == ceType1 {
return defaultTertiary
}
// ce is a quaternary value.
// ce is a quaternary value.
return 0
}
......
......@@ -57,7 +57,7 @@ func TestRaceMapRange2(t *testing.T) {
m := make(map[int]int)
ch := make(chan bool, 1)
go func() {
for _, _ = range m {
for _ = range m {
}
ch <- true
}()
......@@ -77,7 +77,7 @@ func TestNoRaceMapRangeRange(t *testing.T) {
}
ch <- true
}()
for _, _ = range m {
for _ = range m {
}
<-ch
}
......
......@@ -252,7 +252,7 @@ func TestRaceSliceRangeAppend(t *testing.T) {
s = append(s, 3)
c <- true
}()
for _, _ = range s {
for _ = range s {
}
<-c
}
......@@ -264,7 +264,7 @@ func TestNoRaceSliceRangeAppend(t *testing.T) {
_ = append(s, 3)
c <- true
}()
for _, _ = range s {
for _ = range s {
}
<-c
}
......@@ -295,7 +295,7 @@ func TestRaceSliceVarRange(t *testing.T) {
c := make(chan bool, 1)
s := make([]int, 10)
go func() {
for _, _ = range s {
for _ = range s {
}
c <- true
}()
......
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