2
0
mirror of synced 2025-02-23 22:28:11 +00:00

Rename issue 35 testing config function to avoid confusion

This commit is contained in:
Matt Joiner 2016-02-17 17:08:01 +11:00
parent 0f9f7ba01b
commit 90718d086c

View File

@ -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)