Fix G404 gosec lint error

This commit is contained in:
Deluan
2024-05-19 21:55:19 -04:00
parent bcaa180fc7
commit b2ecc1d16f
6 changed files with 20 additions and 8 deletions
+2 -2
View File
@@ -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))
}
})
})