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

14 lines
223 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()
_, err := Announce("lol://tracker.openbittorrent.com:80/announce", nil)
2014-03-17 02:31:06 +11:00
if err != ErrBadScheme {
t.Fatal(err)
}
}