aboutsummaryrefslogtreecommitdiff
path: root/meta/torrent_test.go
diff options
context:
space:
mode:
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)
}
}