diff --git a/p2p/net/swarm/swarm_test.go b/p2p/net/swarm/swarm_test.go index c11377ed5e5ee28c2bdeb9bd666c3120155f80bf..db8a4644237ac40ddbd2e17050cc20ddb43054ba 100644 --- a/p2p/net/swarm/swarm_test.go +++ b/p2p/net/swarm/swarm_test.go @@ -294,7 +294,7 @@ func TestConnHandler(t *testing.T) { select { case <-gotconn: - t.Fatalf("should have connected to %d swarms", expect) + t.Fatalf("should have connected to %d swarms, got an extra.", expect) default: } }