torrent/tracker/tracker_test.go

13 lines
199 B
Go
Raw Normal View History

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