diff --git a/p2p/net/swarm/swarm_test.go b/p2p/net/swarm/swarm_test.go index c11377ed..db8a4644 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: } }