[tor-commits] [snowflake/main] Remove unused FakePeers.
dcf at torproject.org
dcf at torproject.org
Sun Jul 18 19:12:31 UTC 2021
commit d9a83e26b5de158da481e87702183546a4ea4e65
Author: David Fifield <david at bamsoftware.com>
Date: Sun Jul 18 13:11:29 2021 -0600
Remove unused FakePeers.
Unused since 1364d7d45bbec9de605a266a84ea60cdfa6676db.
---
client/lib/lib_test.go | 6 ------
1 file changed, 6 deletions(-)
diff --git a/client/lib/lib_test.go b/client/lib/lib_test.go
index e0856a5..daeeaf9 100644
--- a/client/lib/lib_test.go
+++ b/client/lib/lib_test.go
@@ -52,12 +52,6 @@ func (f FakeSocksConn) Reject() error {
}
func (f FakeSocksConn) Grant(addr *net.TCPAddr) error { return nil }
-type FakePeers struct{ toRelease *WebRTCPeer }
-
-func (f FakePeers) Collect() (*WebRTCPeer, error) { return &WebRTCPeer{}, nil }
-func (f FakePeers) Pop() *WebRTCPeer { return nil }
-func (f FakePeers) Melted() <-chan struct{} { return nil }
-
func TestSnowflakeClient(t *testing.T) {
Convey("Peers", t, func() {
More information about the tor-commits
mailing list