Skip to content

Commit e6983d8

Browse files
authored
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.
1 parent df92df4 commit e6983d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cryptorand/errors_test.go

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy