stop using math/rand.Seed and Read in tests, bump go.mod version to 1.20 (#3936)

This commit is contained in:
Marten Seemann
2023-07-01 11:29:41 -07:00
committed by GitHub
parent 3d89e545d3
commit 0662afba63
16 changed files with 45 additions and 43 deletions

View File

@@ -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())
})