Debian Codegraph @

staticcheck/sa3000/testdata/go1.4/CheckTestMainExit-5/CheckTestMainExit-5.go

raw
1 package pkg
2
3 import (
4 "os"
5 "testing"
6 )
7
8 func helper(m *testing.M) { os.Exit(m.Run()) }
9
10 func TestMain(m *testing.M) {
11 helper(m)
12 }