aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rand_test.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-03-12 11:40:34 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2018-03-12 19:58:42 +0000
commit025134b0d1b5e5ea2c5216fe4ccb060ab1bea59a (patch)
tree73d0365de49aa61016de6c5f4d25f0413b4316df /src/runtime/rand_test.go
parent7395083136539331537d46875ab9d196797a2173 (diff)
downloadgo-025134b0d1b5e5ea2c5216fe4ccb060ab1bea59a.tar.gz
go-025134b0d1b5e5ea2c5216fe4ccb060ab1bea59a.zip
runtime: simplify range expressions in tests
Generated by running gofmt -s on the files in question. Change-Id: If6578b150e1bfced8657196d2af01f5d36879f93 Reviewed-on: https://go-review.googlesource.com/100135 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/rand_test.go')
-rw-r--r--src/runtime/rand_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/rand_test.go b/src/runtime/rand_test.go
index f8831b05f9..1b84c79d24 100644
--- a/src/runtime/rand_test.go
+++ b/src/runtime/rand_test.go
@@ -25,7 +25,7 @@ func BenchmarkFastrandHashiter(b *testing.B) {
}
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
- for _ = range m {
+ for range m {
break
}
}