diff options
author | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
commit | 9aad19327eb719775a874f8f18bb15958db1d471 (patch) | |
tree | c515081857e0b9ad897c6d35b0be64fe4c346688 /src/pkg/testing/regexp_test.go | |
parent | 073e240233589933c43143c997247c33206bb066 (diff) | |
download | golang-9aad19327eb719775a874f8f18bb15958db1d471.tar.gz |
- 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
Diffstat (limited to 'src/pkg/testing/regexp_test.go')
-rw-r--r-- | src/pkg/testing/regexp_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/testing/regexp_test.go b/src/pkg/testing/regexp_test.go index 89a214fca..8f6b20c67 100644 --- a/src/pkg/testing/regexp_test.go +++ b/src/pkg/testing/regexp_test.go @@ -99,7 +99,7 @@ func printVec(t *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]) } } @@ -110,7 +110,7 @@ func printStrings(t *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]) } } @@ -121,7 +121,7 @@ func printBytes(t *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]) } } |