From: Matt Joiner Date: Wed, 17 Feb 2016 06:08:01 +0000 (+1100) Subject: Rename issue 35 testing config function to avoid confusion X-Git-Tag: v1.0.0~889 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=90718d086c4bb654be7e070a5cbbc8fe97dc630b;p=btrtrc.git Rename issue 35 testing config function to avoid confusion --- diff --git a/issue35_test.go b/issue35_test.go index 47227f91..bd3afadf 100644 --- a/issue35_test.go +++ b/issue35_test.go @@ -30,7 +30,7 @@ func addirs(cf *Config) *Config { return cf } -func testingConfig() *Config { +func issue35TestingConfig() *Config { return &Config{ ListenAddr: "localhost:0", NoDHT: false, @@ -85,7 +85,7 @@ func TestInfohash(t *testing.T) { if err != nil { t.Fatal(err) } - cf_one = testingConfig() + cf_one = issue35TestingConfig() cf_one.ListenAddr = "localhost:43433" cf_one = addirs(cf_one) cl_one, err = NewClient(cf_one)