summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_requested_ip_address_test.go
diff options
context:
space:
mode:
authorChristopher Koch <chrisko@google.com>2018-12-29 12:21:34 -0800
committerinsomniac <insomniacslk@users.noreply.github.com>2019-01-11 19:38:21 +0000
commit03a987ca7475df51eb9164e807f9c1929017e08a (patch)
treeec594d8874670e314f9f355e030f8e633849e9d9 /dhcpv4/option_requested_ip_address_test.go
parent9492662dae0651fd4d6698d35b58ade7300e149e (diff)
dhcpv4: remove unused Option.Length function.
Diffstat (limited to 'dhcpv4/option_requested_ip_address_test.go')
-rw-r--r--dhcpv4/option_requested_ip_address_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/dhcpv4/option_requested_ip_address_test.go b/dhcpv4/option_requested_ip_address_test.go
index 84761b5..7d33b1e 100644
--- a/dhcpv4/option_requested_ip_address_test.go
+++ b/dhcpv4/option_requested_ip_address_test.go
@@ -16,8 +16,6 @@ func TestOptRequestedIPAddressInterfaceMethods(t *testing.T) {
expectedBytes := []byte{192, 168, 0, 1}
require.Equal(t, expectedBytes, o.ToBytes(), "ToBytes")
- require.Equal(t, 4, o.Length(), "Length")
-
require.Equal(t, "Requested IP Address -> 192.168.0.1", o.String(), "String")
}