mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 21:14:53 +00:00
bring back assert
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user