From: Matt Joiner Date: Tue, 10 Mar 2015 17:22:56 +0000 (+1100) Subject: Use testing config X-Git-Tag: v1.0.0~1287 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5b2a91e24a01cb30f899136ddf391ae3fc43ae93;p=btrtrc.git Use testing config --- diff --git a/client_test.go b/client_test.go index 55827d26..4ea5b0e3 100644 --- a/client_test.go +++ b/client_test.go @@ -41,9 +41,7 @@ func TestClientDefault(t *testing.T) { } func TestAddDropTorrent(t *testing.T) { - cl, err := NewClient(&Config{ - ListenAddr: "localhost:0", - }) + cl, err := NewClient(&TestingConfig) if err != nil { t.Fatal(err) }