• Kevin Burke's avatar
    cmd/go: test whether alldocs.go is up to date · d169a429
    Kevin Burke authored
    A common error is to update the help text for a command in cmd/go, but
    fail to update alldocs.go, which actually prints the help text for the
    most common commands.
    
    Add a test that the long-form documentation help text matches the
    contents of alldocs.go, which will fail the build if we fail to keep
    the documentation in sync. We can get fancier with the test output if
    this is not sufficient.
    
    Fixes golang/go#26735.
    
    Change-Id: I2509765315eeb0f362633d812343d1324a01b73b
    Reviewed-on: https://go-review.googlesource.com/127920
    Run-TryBot: Kevin Burke <kev@inburke.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    d169a429
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...