From bad7df778a2e13e79ff4f20b2f15b709d9652da2 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 21 Feb 2015 15:25:34 +1100 Subject: [PATCH] Hopefully maybe fix bind error on Codeship test runner --- client_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index f7668238..71f419c7 100644 --- a/client_test.go +++ b/client_test.go @@ -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) } -- 2.48.1