summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/dhcpv4_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/dhcpv4_test.go')
-rw-r--r--dhcpv4/dhcpv4_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/dhcpv4_test.go b/dhcpv4/dhcpv4_test.go
index 7e5f083..217c801 100644
--- a/dhcpv4/dhcpv4_test.go
+++ b/dhcpv4/dhcpv4_test.go
@@ -363,7 +363,7 @@ func TestDHCPv4RequestFromOfferWithModifier(t *testing.T) {
require.NoError(t, err)
require.NotEqual(t, (*MessageType)(nil), *req.MessageType())
require.Equal(t, MessageTypeRequest, *req.MessageType())
- require.Equal(t, "OptUserClass{userclass=[linuxboot]}", req.options[3].String())
+ require.Equal(t, "User Class Information -> linuxboot", req.options[3].String())
}
func TestNewReplyFromRequest(t *testing.T) {
@@ -385,7 +385,7 @@ func TestNewReplyFromRequestWithModifier(t *testing.T) {
require.NoError(t, err)
require.Equal(t, discover.TransactionID(), reply.TransactionID())
require.Equal(t, discover.GatewayIPAddr(), reply.GatewayIPAddr())
- require.Equal(t, "OptUserClass{userclass=[linuxboot]}", reply.options[0].String())
+ require.Equal(t, "User Class Information -> linuxboot", reply.options[0].String())
}
func TestDHCPv4MessageTypeNil(t *testing.T) {