1
0
mirror of https://github.com/golang/go synced 2024-10-06 09:21:21 -06:00
go/src/pkg/fmt
Rob Pike b559392e1b fmt: fix signs when zero padding.
Bug was introduced recently. Add more tests, fix the bugs.
Suppress + sign when not required in zero padding.
Do not zero pad infinities.
All old tests still pass.
This time for sure!
Fixes #8217.

LGTM=rsc
R=golang-codereviews, dan.kortschak, rsc
CC=golang-codereviews
https://golang.org/cl/103480043
2014-06-17 14:56:54 -07:00
..
doc.go all: spelling tweaks, A-G 2014-04-29 12:44:40 -04:00
export_test.go fmt, log: stop using unicode 2012-03-06 23:27:11 -05:00
fmt_test.go fmt: fix signs when zero padding. 2014-06-17 14:56:54 -07:00
format.go fmt: fix signs when zero padding. 2014-06-17 14:56:54 -07:00
print.go fmt: fix go syntax formatting of []byte(nil) 2014-04-03 16:11:03 -04:00
scan_test.go fmt: clean up some errors found by vet 2013-08-02 11:38:19 +10:00
scan.go unicode: upgrade to Unicode 6.3.0 2014-02-18 20:12:59 +01:00
stringer_test.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00