From: Russ Cox Date: Mon, 17 Jul 2017 15:12:20 +0000 (-0400) Subject: strconv: apply Brad's review comment X-Git-Tag: go1.9rc1~30 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8bb88fdcc2b5a6c1b02f601ff8652cef82c78124;p=gostls13.git 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 --- 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 {