fix: download panic

This commit is contained in:
liwei committed 2020-03-01 23:35:51 +08:00
1 parent b0bd2a776a
commit 753830accf
9 files changed
+181 -67

No files matched your search

+3 -3
View File
@@ -1,15 +1,15 @@
package torrent
import (
"testing"
"github.com/monkeyWie/gopeed/protocol/bt/metainfo"
"github.com/monkeyWie/gopeed/protocol/bt/peer"
log "github.com/sirupsen/logrus"
"testing"
)
func init() {
log.SetLevel(log.InfoLevel)
log.SetLevel(log.DebugLevel)
}
func TestTorrent_Download(t *testing.T) {