]> Cypherpunks repositories - gostls13.git/commit
strconv: fix initialization of atofRandomTests
authorRuss Cox <rsc@golang.org>
Mon, 17 Jul 2017 15:12:20 +0000 (11:12 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 17 Jul 2017 15:46:53 +0000 (15:46 +0000)
commit5ac16c6c76fc76f04844c92a6c54aeb97093e053
tree8d89171c873c49bd67ffda28f69de0e8c48ecf69
parent4522efb7f1e9bb7242c9f82076d3db5461f8647b
strconv: fix initialization of atofRandomTests

The init func was using testing.Short, but that's not available
until after flag parsing. Found by CL 49251.

Change-Id: Ia7b871043375260873fa2c7e81e1d43c1c83d33f
Reviewed-on: https://go-review.googlesource.com/49253
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/strconv/atof_test.go