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.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/torrent_test.go b/meta/torrent_test.go
index c7c4ded..3dd8595 100644
--- a/meta/torrent_test.go
+++ b/meta/torrent_test.go
@@ -10,7 +10,7 @@ var tors = map[string]string{
}
func TestPieces(t *testing.T) {
- tor, err := Open("../examples/" + tors["mul"])
+ tor, err := New("../examples/" + tors["mul"])
if err != nil {
t.Error(err)
}
@@ -21,7 +21,7 @@ func TestPieces(t *testing.T) {
}
func TestPieces2(t *testing.T) {
- tor, err := Open("../examples/" + tors["mul"])
+ tor, err := New("../examples/" + tors["mul"])
if err != nil {
t.Error(err)
}
@@ -32,7 +32,7 @@ func TestPieces2(t *testing.T) {
func TestReadAt(t *testing.T) {
t.Skip()
- tor, err := Open("../examples/" + tors["bsd"])
+ tor, err := New("../examples/" + tors["bsd"])
if err != nil {
t.Error(err)
}