]> Cypherpunks repositories - gostls13.git/commit
testing: make the output of -v more uniform and aligned when using fixed-width fonts
authorRob Pike <r@golang.org>
Fri, 8 May 2015 18:00:17 +0000 (11:00 -0700)
committerRob Pike <r@golang.org>
Fri, 8 May 2015 18:38:25 +0000 (18:38 +0000)
commit2b833666f13e851f1a83873ac249bfce1059df2c
treec727f7d843f026f186051e415e9568b4bc2230ed
parent91d989eb6df17b0696cfd53e84b10ccb3f09c1dd
testing: make the output of -v more uniform and aligned when using fixed-width fonts

Delete the colon from RUN: for examples, since it's not there for tests.
Add spaces to line up RUN and PASS: lines.

Before:
=== RUN TestCount
--- PASS: TestCount (0.00s)
=== RUN: ExampleFields
--- PASS: ExampleFields (0.00s)

After:
=== RUN   TestCount
--- PASS: TestCount (0.00s)
=== RUN   ExampleFields
--- PASS: ExampleFields (0.00s)

Fixes #10594.

Change-Id: I189c80a5d99101ee72d8c9c3a4639c07e640cbd8
Reviewed-on: https://go-review.googlesource.com/9846
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/testing/example.go
src/testing/testing.go