derp/derphttp: ignore PeerGoneMessage in test

This commit is contained in:
Brad Fitzpatrick 2020-03-23 14:13:49 -07:00
parent ea9310403d
commit 1d3f45f9be

View File

@ -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
}