]> Cypherpunks repositories - gostls13.git/commit
all: call flag.Parse from TestMain only if used
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 16 Nov 2016 15:26:41 +0000 (15:26 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 16 Nov 2016 19:01:01 +0000 (19:01 +0000)
commit68fda1888e8026aef96590ac634bc35d4c71b6e0
treee7db3e6051f24b52fe67385fe7826b1a14760c92
parent7ee793652307269c9fdee2c0cb222509371a6e36
all: call flag.Parse from TestMain only if used

These don't use any flags in TestMain itself, so the call is redundant
as M.Run will do it.

Change-Id: I00f2ac7f846dc2c3ad3535eb8177616b2d900149
Reviewed-on: https://go-review.googlesource.com/33275
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/cmd/objdump/objdump_test.go
src/cmd/vet/vet_test.go