summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/utils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/utils_test.go')
-rw-r--r--dhcpv4/utils_test.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/dhcpv4/utils_test.go b/dhcpv4/utils_test.go
deleted file mode 100644
index d722466..0000000
--- a/dhcpv4/utils_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package dhcpv4
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
-)
-
-func TestIsRequetsed(t *testing.T) {
- pkt, err := New()
- require.NoError(t, err)
- require.False(t, IsRequested(pkt, OptionDomainNameServer))
-
- optprl := OptParameterRequestList{RequestedOpts: []OptionCode{OptionDomainNameServer}}
- pkt.AddOption(&optprl)
- require.True(t, IsRequested(pkt, OptionDomainNameServer))
-}