diff options
author | Christopher Koch <c@chrisko.ch> | 2019-01-20 20:28:24 +0000 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-01-26 23:34:26 +0000 |
commit | 64f29461718b0dac77d8156ceceacce086fe14b2 (patch) | |
tree | 17146477afbf8da8e0e0535a330ffd18dbb93a3c /dhcpv6/option_bootfileurl_test.go | |
parent | da69dad309583925ff4f8d0454bd0fb5bb6a1402 (diff) |
dhcpv6: remove unnecessary Length function
Diffstat (limited to 'dhcpv6/option_bootfileurl_test.go')
-rw-r--r-- | dhcpv6/option_bootfileurl_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dhcpv6/option_bootfileurl_test.go b/dhcpv6/option_bootfileurl_test.go index 97d3163..7d43003 100644 --- a/dhcpv6/option_bootfileurl_test.go +++ b/dhcpv6/option_bootfileurl_test.go @@ -13,9 +13,6 @@ func TestOptBootFileURL(t *testing.T) { if err != nil { t.Fatal(err) } - if optLen := opt.Length(); optLen != len(expected) { - t.Fatalf("Invalid length. Expected %v, got %v", len(expected), optLen) - } if url := opt.BootFileURL; !bytes.Equal(url, expected) { t.Fatalf("Invalid boot file URL. Expected %v, got %v", expected, url) } |