diff options
author | Christopher Koch <chrisko@google.com> | 2018-12-29 12:21:34 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-01-11 19:38:21 +0000 |
commit | 03a987ca7475df51eb9164e807f9c1929017e08a (patch) | |
tree | ec594d8874670e314f9f355e030f8e633849e9d9 /dhcpv4/bsdp/bsdp_option_server_priority_test.go | |
parent | 9492662dae0651fd4d6698d35b58ade7300e149e (diff) |
dhcpv4: remove unused Option.Length function.
Diffstat (limited to 'dhcpv4/bsdp/bsdp_option_server_priority_test.go')
-rw-r--r-- | dhcpv4/bsdp/bsdp_option_server_priority_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dhcpv4/bsdp/bsdp_option_server_priority_test.go b/dhcpv4/bsdp/bsdp_option_server_priority_test.go index 91a21b6..c4c96de 100644 --- a/dhcpv4/bsdp/bsdp_option_server_priority_test.go +++ b/dhcpv4/bsdp/bsdp_option_server_priority_test.go @@ -10,7 +10,6 @@ func TestOptServerPriorityInterfaceMethods(t *testing.T) { o := OptServerPriority{Priority: 100} require.Equal(t, OptionServerPriority, o.Code(), "Code") require.Equal(t, []byte{0, 100}, o.ToBytes(), "ToBytes") - require.Equal(t, 2, o.Length(), "Length") require.Equal(t, "BSDP Server Priority -> 100", o.String(), "String") } |