]> Cypherpunks repositories - gostls13.git/commit
testing: fix extra tabs when t.Log("string")
authorShenghou Ma <minux.ma@gmail.com>
Sun, 7 Oct 2012 16:21:53 +0000 (00:21 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 7 Oct 2012 16:21:53 +0000 (00:21 +0800)
commit51310d832027f0660098f5f809dc587f0a8b8f9c
tree7f96fd24aa2a720d81e189396f8ca3427a8381aa
parentf8485954bf06546675ac779f18fa7e8fb561113a
testing: fix extra tabs when t.Log("string")

t.Log("line 1\nline 2\nline 3")

Old output:
=== RUN TestLine3
--- PASS: TestLine3 (0.00 seconds)
testing_test.go:25:  line 1
line 2
line 3
PASS

New output:
=== RUN TestLine3
--- PASS: TestLine3 (0.00 seconds)
testing_test.go:24:  line 1
line 2
line 3
PASS

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6613069
src/pkg/testing/testing.go