diff options
author | Andrea Barberio <insomniac@slackware.it> | 2018-11-27 20:29:05 +0000 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2018-11-27 20:39:47 +0000 |
commit | 1db249bb29b8f1facf1b1956a489859c9461042c (patch) | |
tree | b90d3f303d02e14af14107cda49c0c9c3315bfc5 | |
parent | 73794b9822ea1d34f6785a736ccdc64d3447ff8d (diff) |
Added missing check in tests
-rw-r--r-- | dhcpv6/iputils_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpv6/iputils_test.go b/dhcpv6/iputils_test.go index 02ee2d6..76806ba 100644 --- a/dhcpv6/iputils_test.go +++ b/dhcpv6/iputils_test.go @@ -142,6 +142,7 @@ func Test_ExtractMAC(t *testing.T) { relay, err := EncapsulateRelay(solicit, MessageTypeRelayForward, net.IPv6zero, net.IPv6zero) require.NoError(t, err) mac, err = ExtractMAC(relay) + require.NoError(t, err) require.Equal(t, mac.String(), "aa:aa:aa:aa:aa:aa") // no client ID |