github.com/0xKiwi/rules_go@v0.24.3/tests/core/go_test/only_testmain_test.go (about) 1 package only_testmain 2 3 import ( 4 "os" 5 "testing" 6 ) 7 8 func TestMain(m *testing.M) { 9 os.Exit(m.Run()) 10 }