Skip to content

Commit a3ec4ab

Browse files
committed
test(cryptorand): disable error tests on Go 1.24
Testing `rand.Reader.Read` for errors will panic in Go 1.24 and later.
1 parent df92df4 commit a3ec4ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cryptorand/errors_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//go:build !go1.24
2+
3+
// Testing `rand.Reader.Read` for errors will panic in Go 1.24 and later.
4+
15
package cryptorand_test
26

37
import (

0 commit comments

Comments
 (0)