summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dhcpv6/dhcpv6_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/dhcpv6_test.go b/dhcpv6/dhcpv6_test.go
index 49fecca..84cdb50 100644
--- a/dhcpv6/dhcpv6_test.go
+++ b/dhcpv6/dhcpv6_test.go
@@ -83,7 +83,7 @@ func (s *GenerateTransactionIDTestSuite) TestErrors() {
// Less than 4 bytes are generated
randomRead = randomReadMock(s.random, 3, nil)
- tid, err = GenerateTransactionID()
+ _, err = GenerateTransactionID()
s.Assert().EqualError(err, "invalid random sequence: shorter than 4 bytes")
}