2
0
mirror of synced 2025-02-24 14:48:27 +00:00
torrent/tracker/tracker_test.go

14 lines
213 B
Go
Raw Normal View History

2014-03-17 02:31:06 +11:00
package tracker
import (
"testing"
)
func TestUnsupportedTrackerScheme(t *testing.T) {
t.Parallel()
2014-03-17 02:31:06 +11:00
_, err := New("lol://tracker.openbittorrent.com:80/announce")
if err != ErrBadScheme {
t.Fatal(err)
}
}