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 df629d3..b2443af 100644
--- a/meta/torrent_test.go
+++ b/meta/torrent_test.go
@@ -43,7 +43,7 @@ func TestPieces2(t *testing.T) {
if err != nil {
t.Error(err)
}
- for i, p := range tor.Info.pieces() {
+ for i, p := range tor.Info.GetPieces() {
t.Logf("%d %x\n", i, p)
}
}