FedP2P/tracker/tracker_test.go

14 lines
223 B
Go

package tracker
import (
"testing"
)
func TestUnsupportedTrackerScheme(t *testing.T) {
t.Parallel()
_, err := Announce("lol://tracker.openbittorrent.com:80/announce", nil)
if err != ErrBadScheme {
t.Fatal(err)
}
}