• Rob Pike's avatar
    testing: add file:line stamps to messages. · 2c39ca08
    Rob Pike authored
    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
    https://golang.org/cl/5376057
    2c39ca08
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...