(m *testing.M)
| 20 | ) |
| 21 | |
| 22 | func TestMain(m *testing.M) { |
| 23 | flag.Parse() |
| 24 | if *VerboseTests { |
| 25 | u.SetupLogging("debug") |
| 26 | u.SetColorOutput() |
| 27 | } |
| 28 | builtins.LoadAllBuiltins() |
| 29 | if t := os.Getenv("trace"); t != "" { |
| 30 | expr.Trace = true |
| 31 | } |
| 32 | // Now run the actual Tests |
| 33 | os.Exit(m.Run()) |
| 34 | } |
| 35 | |
| 36 | type State struct{} |
| 37 |
nothing calls this directly
no test coverage detected