ceremonyclient/go-libp2p/p2p/net/swarm/testing/testing_test.go

14 lines
201 B
Go
Raw Normal View History

2023-08-21 03:50:38 +00:00
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)
}