- replaced gofmt expression formatting algorithm with

rsc's algorithm
- applied gofmt -w misc src
- partial CL (last chunk)

R=rsc, r
http://go/go-review/1024041
This commit is contained in:
Robert Griesemer 2009-11-09 21:23:52 -08:00
parent baba292998
commit 3bb0032cd6
121 changed files with 750 additions and 750 deletions

View file

@ -101,7 +101,7 @@ func printVec(t *testing.T, m []int) {
if l == 0 {
t.Log("\t<no match>")
} else {
for i := 0; i < l; i = i+2 {
for i := 0; i < l; i = i + 2 {
t.Log("\t", m[i], ",", m[i+1])
}
}
@ -112,7 +112,7 @@ func printStrings(t *testing.T, m []string) {
if l == 0 {
t.Log("\t<no match>")
} else {
for i := 0; i < l; i = i+2 {
for i := 0; i < l; i = i + 2 {
t.Logf("\t%q", m[i])
}
}
@ -123,7 +123,7 @@ func printBytes(t *testing.T, b [][]byte) {
if l == 0 {
t.Log("\t<no match>")
} else {
for i := 0; i < l; i = i+2 {
for i := 0; i < l; i = i + 2 {
t.Logf("\t%q", b[i])
}
}