Commit 906ac8f0 authored by Steven Allen's avatar Steven Allen

test: really don't panic

parent a45a47ad
......@@ -267,7 +267,7 @@ func TestNotFound(t *testing.T) {
resp.CloserPeers = pb.PeerInfosToPBPeers(d.host.Network(), ps)
if err := pbw.WriteMsg(resp); err != nil {
panic(err)
return
}
default:
panic("Shouldnt recieve this.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment