diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-11 22:28:05 +0000 |
---|---|---|
committer | Pablo Mazzini <pmazzini@gmail.com> | 2018-11-11 22:28:05 +0000 |
commit | 472ea5db936189a5cfb3d92847714f914a16ea1d (patch) | |
tree | ad149b7b79a4177cd1d948866aa9901b7ad56818 /dhcpv4/option_relay_agent_information_test.go | |
parent | 060633e1afd24f6c69dccf9ee99b85dddbdee651 (diff) |
OptRelayAgentInformation: increase coverage
Diffstat (limited to 'dhcpv4/option_relay_agent_information_test.go')
-rw-r--r-- | dhcpv4/option_relay_agent_information_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dhcpv4/option_relay_agent_information_test.go b/dhcpv4/option_relay_agent_information_test.go index 68b5c73..2b7b7a3 100644 --- a/dhcpv4/option_relay_agent_information_test.go +++ b/dhcpv4/option_relay_agent_information_test.go @@ -39,3 +39,9 @@ func TestParseOptRelayAgentInformationToBytes(t *testing.T) { } require.Equal(t, expected, data) } + +func TestOptRelayAgentInformationToBytesString(t *testing.T) { + o := OptRelayAgentInformation{} + require.Equal(t, "Relay Agent Information -> []", o.String()) +} + |