"testing"
_ "github.com/anacrolix/envpprof"
+ analog "github.com/anacrolix/log"
)
func init() {
log.SetFlags(log.LstdFlags | log.Lshortfile)
+ analog.DefaultTimeFormatter = analog.TimeFormatSecondsSinceInit
}
func TestMain(m *testing.M) {
- TestingTempDir.Init("torrent.test")
code := m.Run()
- TestingTempDir.RemoveAll()
// select {}
os.Exit(code)
}