Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16)

Issue 5376057: code review 5376057: testing: add file:line stamps to messages. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by r
Modified:
15 years ago
Reviewers:
CC:
rsc, bradfitz, golang-dev
Visibility:
Public.

Description

testing: add file:line stamps to messages. A single-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:123: Foo(8) = "10" want "100" A multi-line error looks like this: --- FAIL: foo_test.TestFoo (0.00 seconds) foo_test.go:456: Foo(88) = "100" want "1000"

Patch Set 1 #

Patch Set 2 : diff -r bb022173b794 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r bb022173b794 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 0532c959020c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -11 lines) Patch
M src/pkg/testing/testing.go View 1 2 3 chunks +30 lines, -11 lines 0 comments Download

Messages

Total messages: 6
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
15 years ago (2011-11-10 19:46:28 UTC) #1
r
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2011-11-10 19:51:17 UTC) #2
r
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2011-11-10 19:51:29 UTC) #3
rsc
LGTM
15 years ago (2011-11-10 19:57:31 UTC) #4
bradfitz
Nice. On Thu, Nov 10, 2011 at 11:46 AM, <r@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
15 years ago (2011-11-10 19:58:52 UTC) #5
r
15 years ago (2011-11-10 19:59:54 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=ff0ade0b937b ***

testing: add file:line stamps to messages.

A single-line error looks like this:
--- FAIL: foo_test.TestFoo (0.00 seconds)
        foo_test.go:123: Foo(8) = "10" want "100"

A multi-line error looks like this:
--- FAIL: foo_test.TestFoo (0.00 seconds)
        foo_test.go:456: Foo(88) = "100"
                want "1000"

R=rsc, bradfitz
CC=golang-dev
http://codereview.appspot.com/5376057
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b