aboutsummaryrefslogtreecommitdiff
path: root/internal/reader/processor/processor.go
diff options
context:
space:
mode:
authorGravatar Thomas J Faughnan Jr <thomas@faughnan.net> 2024-03-31 01:43:10 -0400
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-04-01 21:02:48 -0700
commit3e0d5de7a3e3d55fb19d635feb0e6d8da5f6f7a2 (patch)
tree5a9b3dfeb8f5d1ae7f7a88c04b2f1e8be88be2e2 /internal/reader/processor/processor.go
parent0336774e8c70409e10e3ffcf1cebe152d252a57c (diff)
downloadv2-3e0d5de7a3e3d55fb19d635feb0e6d8da5f6f7a2.tar.gz
v2-3e0d5de7a3e3d55fb19d635feb0e6d8da5f6f7a2.tar.zst
v2-3e0d5de7a3e3d55fb19d635feb0e6d8da5f6f7a2.zip
api tests: use intSize-agnostic random integers
rand.Intn(math.MaxInt64) causes tests to fail on 32-bit architectures. Use the simpler rand.Int() instead, which still provides plenty of room for generating pseudo-random test usernames.
Diffstat (limited to 'internal/reader/processor/processor.go')
0 files changed, 0 insertions, 0 deletions