aboutsummaryrefslogtreecommitdiff
path: root/meta/torrent_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-12-15 14:42:14 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-12-15 14:42:14 +0100
commit74f1a9e6a121b4699425bfad4b9f6ec0ba7bec61 (patch)
treea25436cc107e9690c4f59bc4c184bbdd40ecf7b8 /meta/torrent_test.go
parent1f51887dbe2c1c6766841c9a804bf3ed5ac97d0b (diff)
rename
Diffstat (limited to 'meta/torrent_test.go')
-rw-r--r--meta/torrent_test.go8
1 files changed, 4 insertions, 4 deletions
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)
}