TestMain manages a temporary directory to build on first use ../cmd/panic and clean up at the end.
(m *testing.M)
| 578 | // TestMain manages a temporary directory to build on first use ../cmd/panic |
| 579 | // and clean up at the end. |
| 580 | func TestMain(m *testing.M) { |
| 581 | flag.Parse() |
| 582 | if !testing.Verbose() { |
| 583 | log.SetOutput(io.Discard) |
| 584 | } |
| 585 | os.Exit(m.Run()) |
| 586 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…