summaryrefslogtreecommitdiff
path: root/internal/random/mathematical_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/random/mathematical_test.go')
-rw-r--r--internal/random/mathematical_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/random/mathematical_test.go b/internal/random/mathematical_test.go
index b2f296dfa..675c0edfa 100644
--- a/internal/random/mathematical_test.go
+++ b/internal/random/mathematical_test.go
@@ -42,7 +42,7 @@ func TestMathematical(t *testing.T) {
assert.Len(t, strdata, 11)
i := p.Intn(999)
- assert.Greater(t, i, 0)
+ assert.Greater(t, i, -1)
assert.Less(t, i, 999)
i, err = p.IntnErr(999)