summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_host_name_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/option_host_name_test.go')
-rw-r--r--dhcpv4/option_host_name_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/dhcpv4/option_host_name_test.go b/dhcpv4/option_host_name_test.go
index ddae067..3761ada 100644
--- a/dhcpv4/option_host_name_test.go
+++ b/dhcpv4/option_host_name_test.go
@@ -9,7 +9,6 @@ import (
func TestOptHostNameInterfaceMethods(t *testing.T) {
o := OptHostName{HostName: "foo"}
require.Equal(t, OptionHostName, o.Code(), "Code")
- require.Equal(t, 3, o.Length(), "Length")
require.Equal(t, []byte{'f', 'o', 'o'}, o.ToBytes(), "ToBytes")
}