diff options
Diffstat (limited to 'dhcpv4/option_generic_test.go')
-rw-r--r-- | dhcpv4/option_generic_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/option_generic_test.go b/dhcpv4/option_generic_test.go index 1a35841..10bfa5f 100644 --- a/dhcpv4/option_generic_test.go +++ b/dhcpv4/option_generic_test.go @@ -40,8 +40,8 @@ func TestOptionGenericString(t *testing.T) { func TestOptionGenericStringUnknown(t *testing.T) { o := OptionGeneric{ - OptionCode: 102, // Returend option code. + OptionCode: optionCode(102), // Returned option code. Data: []byte{byte(MessageTypeDiscover)}, } - require.Equal(t, "Unknown -> [1]", o.String()) + require.Equal(t, "unknown -> [1]", o.String()) } |