Browse Source

bring back assert

pull/1679/head
Anton Kaliaev 6 years ago
parent
commit
0562009275
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      p2p/pex/pex_reactor_test.go

+ 1
- 0
p2p/pex/pex_reactor_test.go 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")
}


Loading…
Cancel
Save