diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-11 21:05:24 +0000 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-11 21:05:24 +0000 |
commit | cb41e074afe04510b3951f9c9a39cc848a0d3fde (patch) | |
tree | a83966cb1f8207e866e35214a28f544a15387eb2 /dhcpv4 | |
parent | 190b8db21355bbb3d28f875ba2063143bd51f27c (diff) |
OptRelayAgentInformation: increase coverage
Diffstat (limited to 'dhcpv4')
-rw-r--r-- | dhcpv4/option_relay_agent_information_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/option_relay_agent_information_test.go b/dhcpv4/option_relay_agent_information_test.go index e3310e9..68b5c73 100644 --- a/dhcpv4/option_relay_agent_information_test.go +++ b/dhcpv4/option_relay_agent_information_test.go @@ -15,7 +15,7 @@ func TestParseOptRelayAgentInformation(t *testing.T) { } opt, err := ParseOptRelayAgentInformation(data) require.NoError(t, err) - + require.Equal(t, len(opt.Options), 2) circuit, ok := opt.Options[0].(*OptionGeneric) require.True(t, ok) remote, ok := opt.Options[1].(*OptionGeneric) |