]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: improve TestReadLoops
authorFilippo Valsorda <filippo@golang.org>
Mon, 26 Aug 2024 15:53:46 +0000 (17:53 +0200)
committerFilippo Valsorda <filippo@golang.org>
Mon, 7 Oct 2024 15:34:34 +0000 (15:34 +0000)
commit55b930eb07ab353ade10756dc9a4f7951e93e211
tree39f9fca7b51e78efdeed4242a2fede03520508ef
parentef14ba3e68c166596963bc26187e118cf79375cf
crypto/rand: improve TestReadLoops

As suggested by Russ Cox, making sure we see all byte values doesn't
take long and is a superset of the existing test.

Change-Id: Ifc7f18ca4189c89a3d06d0408150a2464ce5e590
Reviewed-on: https://go-review.googlesource.com/c/go/+/608397
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/crypto/rand/rand_test.go