mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-19 23:03:43 +00:00
Upgrade go 1.13
This commit is contained in:
1 parent
adb7d89018
commit
fe0138440f
2 files changed
+176
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package metainfo
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestParseFromFile(t *testing.T) {
|
||||
metaInfo, err := ParseFromFile("../testdata/Game.of.Thrones.S08E05.720p.WEB.H264-MEMENTO.torrent")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
fmt.Println(metaInfo)
|
||||
}
|
||||
Reference in new issue
Block a user