aboutsummaryrefslogtreecommitdiff
path: root/src/strconv/atof_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strconv/atof_test.go')
-rw-r--r--src/strconv/atof_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strconv/atof_test.go b/src/strconv/atof_test.go
index f6c64789cb..3380b20088 100644
--- a/src/strconv/atof_test.go
+++ b/src/strconv/atof_test.go
@@ -221,10 +221,10 @@ var (
)
func initAtof() {
- atofOnce.Do(initAtof1)
+ atofOnce.Do(initAtofOnce)
}
-func initAtof1() {
+func initAtofOnce() {
// The atof routines return NumErrors wrapping
// the error and the string. Convert the table above.
for i := range atoftests {