mirror of
https://github.com/mailgun/groupcache.git
synced 2024-07-01 02:19:12 +00:00
test(): remove unused method GetURL(key string)
This commit is contained in:
parent
6308e62bbb
commit
5b70a612a7
|
@ -289,10 +289,6 @@ func (p fakePeers) GetAll() []ProtoGetter {
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p fakePeers) GetURL(key string) string {
|
|
||||||
return "fakePeer"
|
|
||||||
}
|
|
||||||
|
|
||||||
// tests that peers (virtual, in-process) are hit, and how much.
|
// tests that peers (virtual, in-process) are hit, and how much.
|
||||||
func TestPeers(t *testing.T) {
|
func TestPeers(t *testing.T) {
|
||||||
once.Do(testSetup)
|
once.Do(testSetup)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user