Skip to content

Commit 2e6b92f

Browse files
dgryskiaykevl
authored andcommitted
src/testing: add testing.Verbose()
1 parent 51290e5 commit 2e6b92f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/testing/testing.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,11 @@ func Short() bool {
297297
return flagShort
298298
}
299299

300+
// Verbose reports whether the -test.v flag is set.
301+
func Verbose() bool {
302+
return flagVerbose
303+
}
304+
300305
func TestMain(m *M) {
301306
os.Exit(m.Run())
302307
}

0 commit comments

Comments
 (0)