1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:31:22 -06:00
go/src/pkg/testing
Robert Dinu 782cbb4f90 testing: fix output formatting
Revision 5e7fd762f356 has changed the output formatting in a way that
is no longer in line with the format described by the revision
ff0ade0b937b which has introduced this functionality.
When decorating the first line, instead of indenting the whole line,
the current implementation adds indentation right after the "decorate"
part and  before the "log" message.
The fix addresses this issue.

R=golang-dev, iant, minux.ma, r, rsc, remyoudompheng
CC=golang-dev
https://golang.org/cl/7304094
2013-02-21 14:17:43 -08:00
..
iotest testing/iotest: adjust adverbial imprecision in package comment 2012-02-10 14:37:20 +11:00
quick testing/quick: documentation tweaks 2012-02-10 14:37:50 +11:00
allocs.go testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
benchmark.go testing: introduce (*B).ReportAllocs() 2013-01-17 18:45:49 +08:00
example.go testing: allow examples to pass (fix build) 2013-01-18 12:25:41 +11:00
testing.go testing: fix output formatting 2013-02-21 14:17:43 -08:00