From 8bb88fdcc2b5a6c1b02f601ff8652cef82c78124 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 17 Jul 2017 11:12:20 -0400 Subject: [PATCH] strconv: apply Brad's review comment Missed in CL 49253 because I submitted from the Gerrit UI and had not mailed the latest copy. Sigh. Change-Id: I540f960278df43e2eaf1aac188eb124a1ff240dd Reviewed-on: https://go-review.googlesource.com/49256 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Russ Cox --- src/strconv/atof_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strconv/atof_test.go b/src/strconv/atof_test.go index f6c64789cbb..3380b200884 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 {