summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/client_test.go
blob: d2efa1f04b62b63db8a6955d68f76f1e46655129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package dhcpv6

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func TestNewClient(t *testing.T) {
	c := NewClient()
	require.NotNil(t, c)
	require.Equal(t, DefaultReadTimeout, c.ReadTimeout)
	require.Equal(t, DefaultWriteTimeout, c.WriteTimeout)
}