(testFunc func())
| 200 | } |
| 201 | |
| 202 | func catchPanic(testFunc func()) (recv interface{}) { |
| 203 | defer func() { |
| 204 | recv = recover() |
| 205 | }() |
| 206 | |
| 207 | testFunc() |
| 208 | return |
| 209 | } |
| 210 | |
| 211 | type testRoute struct { |
| 212 | path string |
no outgoing calls
no test coverage detected