diff options
Diffstat (limited to 'dhcpv6/client_test.go')
-rw-r--r-- | dhcpv6/client_test.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dhcpv6/client_test.go b/dhcpv6/client_test.go new file mode 100644 index 0000000..d2efa1f --- /dev/null +++ b/dhcpv6/client_test.go @@ -0,0 +1,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) +} |