Skip to content

Commit

Permalink
test(): remove unused method GetURL(key string)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy PAGEARD committed Jul 9, 2020
1 parent 6308e62 commit 5b70a61
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions groupcache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,6 @@ func (p fakePeers) GetAll() []ProtoGetter {
return p
}

func (p fakePeers) GetURL(key string) string {
return "fakePeer"
}

// tests that peers (virtual, in-process) are hit, and how much.
func TestPeers(t *testing.T) {
once.Do(testSetup)
Expand Down

0 comments on commit 5b70a61

Please sign in to comment.