github.com/serversong/goreporter@v0.0.0-20200325104552-3cfaf44fd178/linters/staticcheck/testdata/CheckTestMainExit-1.go (about)

     1  package pkg
     2  
     3  import "testing"
     4  
     5  func TestMain(m *testing.M) { // MATCH /should call os.Exit/
     6  	m.Run()
     7  }