bencode/both_test.go | 6 +++--- diff --git a/bencode/_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent b/bencode/testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent rename from bencode/_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent rename to bencode/testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent diff --git a/bencode/_testdata/continuum.torrent b/bencode/testdata/continuum.torrent rename from bencode/_testdata/continuum.torrent rename to bencode/testdata/continuum.torrent diff --git a/bencode/both_test.go b/bencode/both_test.go index a000f35b78deb10448f6f859213be0a56fb4d47d..7ee1454ed7a0b3ac990be49009680863d9c47072 100644 --- a/bencode/both_test.go +++ b/bencode/both_test.go @@ -33,8 +33,8 @@ } func TestBothInterface(t *testing.T) { - test_file_interface(t, "_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent") - test_file_interface(t, "_testdata/continuum.torrent") + test_file_interface(t, "testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent") + test_file_interface(t, "testdata/continuum.torrent") } type torrent_file struct { @@ -76,5 +76,5 @@ } } func TestBoth(t *testing.T) { - test_file(t, "_testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent") + test_file(t, "testdata/archlinux-2011.08.19-netinstall-i686.iso.torrent") }