commit 03b1a0d1f13a7e7bf3359f25b3354cc4c0dfada2 Author: Serene Han keroserene+git@gmail.com Date: Wed Mar 30 22:33:47 2016 -0700
remove dead code --- client/client_test.go | 4 ---- client/rendezvous.go | 1 - 2 files changed, 5 deletions(-)
diff --git a/client/client_test.go b/client/client_test.go index 1f6f0a6..733242b 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -95,15 +95,11 @@ func TestConnect(t *testing.T) { c.config = webrtc.NewConfiguration() c.preparePeerConnection()
- // offer := webrtc.DeserializeSessionDescription( - // `{"type":"offer","sdp":"test offer"}`) - // c.pc.SetLocalDescription(offer) c.offerChannel <- nil answer := webrtc.DeserializeSessionDescription( `{"type":"answer","sdp":""}`) c.answerChannel <- answer c.exchangeSDP() - // So(c.pc.RemoteDescription(), ShouldEqual, answer) })
SkipConvey("Exchange SDP fails on nil answer", func() { diff --git a/client/rendezvous.go b/client/rendezvous.go index b764bc3..20948af 100644 --- a/client/rendezvous.go +++ b/client/rendezvous.go @@ -20,7 +20,6 @@ type BrokerChannel struct { // different from the host name in URL). Host string url *url.URL - // transport http.Transport // Used to make all requests. transport http.RoundTripper // Used to make all requests. }