]> Cypherpunks repositories - gostls13.git/commit
fmt: fix Malloc test
authorRob Pike <r@golang.org>
Tue, 17 Jan 2012 23:42:02 +0000 (15:42 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Jan 2012 23:42:02 +0000 (15:42 -0800)
commitb7ec659b54951f2461381ec0a5d4e71cb0460a03
treed6cb47f0be32cde122b2f9c506feb101b17fdfba
parent7585aa6ae591a7fecb806d230205f8d12d64c957
fmt: fix Malloc test
We need to avoid allocating an extra word for the interface value
passing the floating-point value as an interface{}. It's easy.

Fixes #2722.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5553044
src/pkg/fmt/fmt_test.go