1
package dmarcdb
2
3
import (
4
"fmt"
5
"os"
6
"testing"
7
8
"github.com/mjl-/mox/metrics"
9
)
10
11
func TestMain(m *testing.M) {
12
m.Run()
13
if metrics.Panics.Load() > 0 {
14
fmt.Println("unhandled panics encountered")
15
os.Exit(2)
16
}
17
}
18