]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Hopefully maybe fix bind error on Codeship test runner
authorMatt Joiner <anacrolix@gmail.com>
Sat, 21 Feb 2015 04:25:34 +0000 (15:25 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 21 Feb 2015 04:25:34 +0000 (15:25 +1100)
client_test.go

index f7668238f0d0e8b6768156e2312a9753bd241967..71f419c7886fb6674a2ef6798fe2d4387b0764ec 100644 (file)
@@ -26,7 +26,9 @@ func TestClientDefault(t *testing.T) {
 }
 
 func TestAddDropTorrent(t *testing.T) {
-       cl, err := NewClient(nil)
+       cl, err := NewClient(&Config{
+               ListenAddr: "localhost:0",
+       })
        if err != nil {
                t.Fatal(err)
        }