diff options
Diffstat (limited to 'internal/random/cryptographical_test.go')
| -rw-r--r-- | internal/random/cryptographical_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/random/cryptographical_test.go b/internal/random/cryptographical_test.go index f3e703487..504c47863 100644 --- a/internal/random/cryptographical_test.go +++ b/internal/random/cryptographical_test.go @@ -55,7 +55,7 @@ func TestCryptographical(t *testing.T) { assert.Equal(t, 0, i) bi := p.Int(big.NewInt(999)) - assert.Greater(t, bi.Int64(), int64(0)) + assert.GreaterOrEqual(t, bi.Int64(), int64(0)) assert.Less(t, bi.Int64(), int64(999)) bi = p.Int(nil) |
