ceremonyclient/go-libp2p/p2p/net/swarm/testing/testing_test.go
2023-08-20 23:07:43 -05:00

14 lines
201 B
Go

package testing
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGenSwarm(t *testing.T) {
swarm := GenSwarm(t)
require.NoError(t, swarm.Close())
GenUpgrader(t, swarm, nil)
}