1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-24 03:47:45 +02:00
revive/testdata/deep-exit_test.go

12 lines
147 B
Go
Raw Normal View History

2020-01-07 23:46:21 +01:00
package fixtures
import (
"os"
"testing"
)
func TestMain(m *testing.M) {
// call flag.Parse() here if TestMain uses flags
os.Exit(m.Run())
}