bring back assert

This commit is contained in:
Anton Kaliaev
2018-06-04 16:33:57 +04:00
parent fedd07c522
commit 0562009275

View File

@@ -53,6 +53,7 @@ func TestPEXReactorAddRemovePeer(t *testing.T) {
outboundPeer := p2p.CreateRandomPeer(true)
r.AddPeer(outboundPeer)
assert.Equal(t, size+1, book.Size(), "outbound peers should not be added to the address book")
r.RemovePeer(outboundPeer, "peer not available")
}