summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_bootfileurl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6/option_bootfileurl_test.go')
-rw-r--r--dhcpv6/option_bootfileurl_test.go3
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)
}