(testFunc func())
| 213 | } |
| 214 | |
| 215 | func catchPanic(testFunc func()) (recv interface{}) { |
| 216 | defer func() { |
| 217 | recv = recover() |
| 218 | }() |
| 219 | |
| 220 | testFunc() |
| 221 | return |
| 222 | } |
| 223 | |
| 224 | type testRoute struct { |
| 225 | path string |
no outgoing calls
no test coverage detected