Fix G404 gosec lint error
This commit is contained in:
@@ -14,10 +14,10 @@ func TestRandom(t *testing.T) {
|
||||
}
|
||||
|
||||
var _ = Describe("number package", func() {
|
||||
Describe("Int64", func() {
|
||||
Describe("Int64N", func() {
|
||||
It("should return a random int64", func() {
|
||||
for i := 0; i < 10000; i++ {
|
||||
Expect(random.Int64(100)).To(BeNumerically("<", 100))
|
||||
Expect(random.Int64N(100)).To(BeNumerically("<", 100))
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user