summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/ztpv4/ztp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/ztpv4/ztp_test.go')
-rw-r--r--dhcpv4/ztpv4/ztp_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpv4/ztpv4/ztp_test.go b/dhcpv4/ztpv4/ztp_test.go
index a6781a1..189ed3b 100644
--- a/dhcpv4/ztpv4/ztp_test.go
+++ b/dhcpv4/ztpv4/ztp_test.go
@@ -52,6 +52,7 @@ func TestParseClassIdentifier(t *testing.T) {
ci: []byte("JMX2525X0BW"),
want: &VendorData{VendorName: "Cisco Systems", Model: "FPR4100", Serial: "JMX2525X0BW"},
},
+ {name: "ciscoNoSerial", vc: "FPR4100", fail: true},
}
for _, tc := range tt {