mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-22 05:19:03 +00:00
src/testing: add testing.Verbose()
This commit is contained in:
@@ -297,6 +297,11 @@ func Short() bool {
|
|||||||
return flagShort
|
return flagShort
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Verbose reports whether the -test.v flag is set.
|
||||||
|
func Verbose() bool {
|
||||||
|
return flagVerbose
|
||||||
|
}
|
||||||
|
|
||||||
func TestMain(m *M) {
|
func TestMain(m *M) {
|
||||||
os.Exit(m.Run())
|
os.Exit(m.Run())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user