summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_iapd_test.go
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2023-02-18 13:59:40 -0800
committerChris K <c@chrisko.ch>2023-02-18 23:57:24 -0800
commit10146be7d8494d72e98d40df63cc0d65501e169f (patch)
treeb6e43a11ae6ae60149af06af11d615c4ad7c2055 /dhcpv6/option_iapd_test.go
parenta5c8a4bf9480a9c8cd16ab84914f7d646f3c0130 (diff)
Normalize String functions
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv6/option_iapd_test.go')
-rw-r--r--dhcpv6/option_iapd_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhcpv6/option_iapd_test.go b/dhcpv6/option_iapd_test.go
index b2b9d3f..13175f4 100644
--- a/dhcpv6/option_iapd_test.go
+++ b/dhcpv6/option_iapd_test.go
@@ -98,17 +98,17 @@ func TestOptIAPDString(t *testing.T) {
str := opt.String()
require.Contains(
t, str,
- "IAID=[1 0 0 0]",
+ "IAID=0x01000000",
"String() should return the IAID",
)
require.Contains(
t, str,
- "t1=1s, t2=2s",
+ "T1=1s T2=2s",
"String() should return the T1/T2 options",
)
require.Contains(
t, str,
- "Options=[",
+ "Options={",
"String() should return a list of options",
)
}