test(cryptorand): disable error tests on Go 1.24 (#16955)

Testing `rand.Reader.Read` for errors will panic (not recoverable) in Go
1.24 and later.
This commit is contained in:
Mathias Fredriksson
2025-03-17 12:15:52 +02:00
committed by GitHub
parent df92df4565
commit e6983d8399

View File

@ -1,3 +1,7 @@
//go:build !go1.24
// Testing `rand.Reader.Read` for errors will panic in Go 1.24 and later.
package cryptorand_test
import (