• Russ Cox's avatar
    cmd/go, testing: remove redundant "for pkg" in coverage message · 56cd47b2
    Russ Cox authored
    This is a transcript before this change. I've capitalized the text being removed.
    Note that it is always near another line that already says fmt, marked with <<<
    
    $ cd $GOROOT/src/pkg/fmt
    
    $ go test -cover
    PASS
    coverage FOR FMT: 91.3% of statements
    ok  	fmt	0.040s <<<
    
    $ go test -coverpkg strconv
    PASS
    coverage FOR FMT: 64.9% of statements in strconv
    ok  	fmt	0.039s <<<
    
    $ go test -cover -c
    $ ./fmt.test -test.covermode=set <<<
    PASS
    coverage FOR FMT: 91.3% of statements
    
    $ go test -coverpkg strconv -c
    $ ./fmt.test -test.covermode=set <<<
    PASS
    coverage FOR FMT: 64.9% of statements in strconv
    
    That the summary printed by 'go test [options] fmt' is unchanged:
    
    $ go test -cover fmt
    ok  	fmt	0.040s	coverage: 91.3% of statements
    
    $ go test -coverpkg strconv fmt
    ok  	fmt	0.038s	coverage: 64.9% of statements in strconv
    
    R=r
    CC=gobot, golang-dev
    https://golang.org/cl/10932045
    56cd47b2
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
godoc Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
yacc Loading commit data...