Commit a0003691 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Document VerboseTest.

parent 7383bdf8
......@@ -97,6 +97,8 @@ func CurrentOwner() *Owner {
}
}
// VerboseTest returns true if the testing framework is run with -v.
func VerboseTest() bool {
flag := flag.Lookup("test.v")
return flag != nil && flag.Value.String() == "true"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment