mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
- 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:
parent
baba292998
commit
3bb0032cd6
121 changed files with 750 additions and 750 deletions
|
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue