Files
elect/elect_test.go

16 lines
220 B
Go
Raw Normal View History

2023-05-30 20:12:12 -07:00
package elect_test
import (
"testing"
"github.com/gopatchy/elect"
"github.com/stretchr/testify/require"
)
func TestNew(t *testing.T) {
t.Parallel()
c := elect.New("[::1]:1234", "abc123")
require.NotNil(t, c)
}