Initial commit

This commit is contained in:
Ian Gulliver
2023-05-30 20:12:12 -07:00
parent 8e46ccdea0
commit 453d73c245
7 changed files with 132 additions and 0 deletions

15
elect_test.go Normal file
View File

@@ -0,0 +1,15 @@
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)
}