mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
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:
committed by
GitHub
parent
df92df4565
commit
e6983d8399
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user