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