]> Sergey Matveev's repositories - btrtrc.git/blob - main_test.go
Handle more PeerRemoteAddr variants when calculating dial addr
[btrtrc.git] / main_test.go
1 package torrent
2
3 import (
4         "log"
5         "os"
6         "testing"
7
8         _ "github.com/anacrolix/envpprof"
9 )
10
11 func init() {
12         log.SetFlags(log.LstdFlags | log.Lshortfile)
13 }
14
15 func TestMain(m *testing.M) {
16         code := m.Run()
17         // select {}
18         os.Exit(code)
19 }