]> Sergey Matveev's repositories - btrtrc.git/blobdiff - main_test.go
Add ClientConfig.DialRateLimiter, handle dial rate limiting errors
[btrtrc.git] / main_test.go
index b6e46230956b125187b093c924a74f2d7983f404..51af26a041374468d11efece53c88b61999942e4 100644 (file)
@@ -1,10 +1,17 @@
 package torrent
 
 import (
+       "log"
        "os"
        "testing"
+
+       _ "github.com/anacrolix/envpprof"
 )
 
+func init() {
+       log.SetFlags(log.LstdFlags | log.Lshortfile)
+}
+
 func TestMain(m *testing.M) {
        code := m.Run()
        // select {}