From 03a987ca7475df51eb9164e807f9c1929017e08a Mon Sep 17 00:00:00 2001 From: Christopher Koch Date: Sat, 29 Dec 2018 12:21:34 -0800 Subject: dhcpv4: remove unused Option.Length function. --- dhcpv4/option_root_path_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'dhcpv4/option_root_path_test.go') diff --git a/dhcpv4/option_root_path_test.go b/dhcpv4/option_root_path_test.go index 0bfbd65..e05dd0e 100644 --- a/dhcpv4/option_root_path_test.go +++ b/dhcpv4/option_root_path_test.go @@ -9,7 +9,6 @@ import ( func TestOptRootPathInterfaceMethods(t *testing.T) { o := OptRootPath{Path: "/foo/bar/baz"} require.Equal(t, OptionRootPath, o.Code(), "Code") - require.Equal(t, 12, o.Length(), "Length") wantBytes := []byte{ '/', 'f', 'o', 'o', '/', 'b', 'a', 'r', '/', 'b', 'a', 'z', } -- cgit v1.2.3