Fresh dep ensure

This commit is contained in:
Mike Cronce
2018-11-26 13:23:56 -05:00
parent 93cb8a04d7
commit 407478ab9a
9016 changed files with 551394 additions and 279685 deletions

View File

@ -33,10 +33,11 @@ import (
var (
dumpTree = flag.Bool("dump", false, "print AST")
dumpJson = flag.Bool("json", false, "output test list as JSON")
dumpJSON = flag.Bool("json", false, "output test list as JSON")
warn = flag.Bool("warn", false, "print warnings")
)
// Test holds test locations, package names, and test names.
type Test struct {
Loc string
Name string
@ -262,7 +263,7 @@ func main() {
log.Fatalf("Error walking: %v", err)
}
}
if *dumpJson {
if *dumpJSON {
json, err := json.Marshal(tests.tests)
if err != nil {
log.Fatal(err)