github.com/thediveo/gons@v0.9.9/reexec/testing/test/dummy_test.go (about) 1 package test 2 3 import ( 4 "os" 5 "testing" 6 7 _ "github.com/thediveo/gons/reexec" // needed, otherwise mm.Run() bombs... 8 rxtst "github.com/thediveo/gons/reexec/testing" 9 ) 10 11 // This just tests the "standard" coverage-enabled mm.Run() method. 12 func TestMain(m *testing.M) { 13 mm := &rxtst.M{M: m} 14 os.Exit(mm.Run()) 15 }