forked from quic-go/quic-go
stop using math/rand.Seed and Read in tests, bump go.mod version to 1.20 (#3936)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package ackhandler
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"testing"
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
@@ -16,10 +15,6 @@ func TestCrypto(t *testing.T) {
|
||||
|
||||
var mockCtrl *gomock.Controller
|
||||
|
||||
var _ = BeforeSuite(func() {
|
||||
rand.Seed(GinkgoRandomSeed())
|
||||
})
|
||||
|
||||
var _ = BeforeEach(func() {
|
||||
mockCtrl = gomock.NewController(GinkgoT())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user