aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/string_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2014-07-16 16:29:51 -0700
committerRobert Griesemer <gri@golang.org>2014-07-16 16:29:51 -0700
commit8a23c0021edad5bbf117b71ee7db32406b0c9a67 (patch)
tree9e8534100e68dd2241934d6da26dd4b61eddce26 /src/pkg/runtime/string_test.go
parent8d504c4e97a0ff560208aa58b5d01e225412d821 (diff)
downloadgo-8a23c0021edad5bbf117b71ee7db32406b0c9a67.tar.xz
src, misc: applied gofmt -s -w
Pending CL 113120043. LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/112290043
Diffstat (limited to 'src/pkg/runtime/string_test.go')
-rw-r--r--src/pkg/runtime/string_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/string_test.go b/src/pkg/runtime/string_test.go
index 73ac95e018..e7ac51a5f0 100644
--- a/src/pkg/runtime/string_test.go
+++ b/src/pkg/runtime/string_test.go
@@ -85,7 +85,7 @@ func BenchmarkRuneIterate(b *testing.B) {
}
s := string(bytes)
for i := 0; i < b.N; i++ {
- for _ = range s {
+ for range s {
}
}
}
@@ -97,7 +97,7 @@ func BenchmarkRuneIterate2(b *testing.B) {
}
s := string(bytes)
for i := 0; i < b.N; i++ {
- for _ = range s {
+ for range s {
}
}
}