aboutsummaryrefslogtreecommitdiff
path: root/meta/torrent_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-07-10 15:47:42 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-07-10 15:47:42 +0200
commit1ac83d1ed053aa95f9ac86323d2e5d2f49d4677d (patch)
treebf4614d7c500daaadf7629d676425b5ea16a3bbe /meta/torrent_test.go
parent717918d1d6f59b929e0afd69e3202963d5db8a52 (diff)
Rename FindFile
Diffstat (limited to 'meta/torrent_test.go')
-rw-r--r--meta/torrent_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/torrent_test.go b/meta/torrent_test.go
index d393e45..75cccc9 100644
--- a/meta/torrent_test.go
+++ b/meta/torrent_test.go
@@ -33,7 +33,7 @@ func TestPieces(t *testing.T) {
t.Error(err)
}
for i, p := range tor.Info.GetPieces() {
- n, off := tor.Info.FindFile(p.Offset)
+ n, off := tor.Info.findFirstFile(p.Offset)
t.Log(i, n, off)
}
}