mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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:
@@ -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