Skip to content

Commit

Permalink
Enable verbose testing for all Go tests (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuujo authored Apr 7, 2023
1 parent c9f021a commit 3cd604e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.3-dev
1.1.3
8 changes: 3 additions & 5 deletions pkg/test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@ func Main(suites []TestingSuite) {
}

// Hack to enable verbose testing.
if config.Verbose {
os.Args = []string{
os.Args[0],
"-test.v",
}
os.Args = []string{
os.Args[0],
"-test.v",
}

testing.Main(func(_, _ string) (bool, error) { return true, nil }, tests, nil, nil)
Expand Down

0 comments on commit 3cd604e

Please # to comment.