mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +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
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user