(t *testing.T, f func())
| 42 | } |
| 43 | |
| 44 | func assertPanic(t *testing.T, f func()) { |
| 45 | defer func() { |
| 46 | if r := recover(); r == nil { |
| 47 | t.Errorf("The code did not panic") |
| 48 | } |
| 49 | }() |
| 50 | f() |
| 51 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…