]> Cypherpunks repositories - gostls13.git/commit
fmt: enable and fix malloc test
authorRob Pike <r@golang.org>
Tue, 17 Jan 2012 18:45:36 +0000 (10:45 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Jan 2012 18:45:36 +0000 (10:45 -0800)
commit45d739748ebec720fbf459001b480ca0b8821542
tree861a1190635b3aad44b6ebedfa732e8fe14fdd89
parentebc8013edfc009b1190c656e738b15fe9729cc89
fmt: enable and fix malloc test
On 32-bit machines, %g takes an extra malloc. I don't know why yet,
but this makes the test pass again, and enables it even for -short.

Fixes #2653.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5542055
src/pkg/fmt/fmt_test.go