summaryrefslogtreecommitdiff
path: root/src/pkg/testing/regexp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/testing/regexp_test.go')
-rw-r--r--src/pkg/testing/regexp_test.go6
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])
}
}