]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Rename issue 35 testing config function to avoid confusion
authorMatt Joiner <anacrolix@gmail.com>
Wed, 17 Feb 2016 06:08:01 +0000 (17:08 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 17 Feb 2016 06:08:01 +0000 (17:08 +1100)
issue35_test.go

index 47227f91ee6758d226d99483c5f40b3de6ba49d4..bd3afadf21ce8281f30285f19ca48822140ab028 100644 (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)