From 74f1a9e6a121b4699425bfad4b9f6ec0ba7bec61 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 15 Dec 2018 14:42:14 +0100 Subject: rename --- meta/torrent_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/torrent_test.go') diff --git a/meta/torrent_test.go b/meta/torrent_test.go index 78d6c77..ac54b95 100644 --- a/meta/torrent_test.go +++ b/meta/torrent_test.go @@ -10,7 +10,7 @@ var tors = map[string]string{ } func TestHash(t *testing.T) { - tor, err := New("../examples/" + tors["bsd"]) + tor, err := New("../testdata/" + tors["bsd"]) if err != nil { t.Error(err) } @@ -20,7 +20,7 @@ func TestHash(t *testing.T) { } func TestPieces(t *testing.T) { - tor, err := New("../examples/" + tors["mul"]) + tor, err := New("../testdata/" + tors["mul"]) if err != nil { t.Error(err) } @@ -31,7 +31,7 @@ func TestPieces(t *testing.T) { } func TestPieces2(t *testing.T) { - tor, err := New("../examples/" + tors["mul"]) + tor, err := New("../testdata/" + tors["mul"]) if err != nil { t.Error(err) } @@ -42,7 +42,7 @@ func TestPieces2(t *testing.T) { func TestReadAt(t *testing.T) { t.Skip() - tor, err := New("../examples/" + tors["bsd"]) + tor, err := New("../testdata/" + tors["bsd"]) if err != nil { t.Error(err) } -- cgit v1.2.3