]> Cypherpunks repositories - gostls13.git/commit
testing: fix output formatting
authorRobert Dinu <r@oktett.se>
Thu, 21 Feb 2013 22:17:43 +0000 (14:17 -0800)
committerRob Pike <r@golang.org>
Thu, 21 Feb 2013 22:17:43 +0000 (14:17 -0800)
commit782cbb4f90dc873eced4248e100e69a6502d7aee
tree9bfc59c1b8e0ca3e5b2aaa4d3488e842537212c9
parent1903ad71891eb0b7b79b83145bf16b4a85dead54
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
src/pkg/testing/testing.go