commit | a53317668a9b29cf4633e67d1d83947eee92c951 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Sun Feb 19 22:13:04 2012 -0500 |
committer | Russ Cox <rsc@golang.org> | Sun Feb 19 22:13:04 2012 -0500 |
tree | bca4213027699497640eb305615258422b304380 | |
parent | 9c9b96f028bd354f3b2e0869960300fe3936a54d [diff] |
strconv: run garbage collection before counting allocations in test My theory is that the call to f() allocates, which triggers a garbage collection, which itself may do some allocation, which is being counted. Running a garbage collection before starting the test should avoid this problem. Fixes #2894 (I hope). R=golang-dev, bradfitz, nigeltao CC=golang-dev https://golang.org/cl/5685046