(t *testing.T)
| 31 | } |
| 32 | |
| 33 | func TestBadCryptoReaderPanics(t *testing.T) { |
| 34 | assert.Panics(t, func() { |
| 35 | randReader = test.UnreadableReader() |
| 36 | defer func() { |
| 37 | randReader = rand.Reader |
| 38 | }() |
| 39 | randIntn(2) |
| 40 | }) |
| 41 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…