]> Sergey Matveev's repositories - btrtrc.git/blob - main_test.go
Drop support for go 1.20
[btrtrc.git] / main_test.go
1 package torrent
2
3 import (
4         "log"
5         "os"
6         "testing"
7
8         _ "github.com/anacrolix/envpprof"
9         analog "github.com/anacrolix/log"
10 )
11
12 func init() {
13         log.SetFlags(log.LstdFlags | log.Lshortfile)
14         analog.DefaultTimeFormatter = analog.TimeFormatSecondsSinceInit
15 }
16
17 func TestMain(m *testing.M) {
18         code := m.Run()
19         // select {}
20         os.Exit(code)
21 }