derp/derphttp: ignore PeerGoneMessage in test

pull/210/head
Brad Fitzpatrick 5 years ago
parent ea9310403d
commit 1d3f45f9be

@ -103,6 +103,8 @@ func TestSendRecv(t *testing.T) {
default:
t.Errorf("unexpected message type %T", m)
continue
case derp.PeerGoneMessage:
// Ignore.
case derp.ReceivedPacket:
recvChs[i] <- m.Data
}

Loading…
Cancel
Save