1
0
mirror of https://github.com/golang/go synced 2024-11-19 13:04:45 -07:00

cmd/go: small code reorganization

covermode is not passed to 6.out, so it should not be grouped
with the flags that are. Move it to the "local" section.

Change-Id: Id487898962e7ab7adf98b0854c2f1802116bec11
Reviewed-on: https://go-review.googlesource.com/8132
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Jeremy Schlatter 2015-03-27 01:59:31 +00:00 committed by Minux Ma
parent 2f7ad5265c
commit 4ec7e76a74

View File

@ -30,6 +30,7 @@ var testFlagDefn = []*testFlagSpec{
// local.
{name: "c", boolVar: &testC},
{name: "cover", boolVar: &testCover},
{name: "covermode"},
{name: "coverpkg"},
{name: "o"},
@ -53,7 +54,6 @@ var testFlagDefn = []*testFlagSpec{
{name: "bench", passToTest: true},
{name: "benchmem", boolVar: new(bool), passToTest: true},
{name: "benchtime", passToTest: true},
{name: "covermode"},
{name: "coverprofile", passToTest: true},
{name: "cpu", passToTest: true},
{name: "cpuprofile", passToTest: true},