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.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)
}