There is no way to recover panics in TestMain and it's the expected 
behavior. Please read through this issue:
https://github.com/golang/go/issues/13149

On Sunday, July 2, 2017 at 8:43:45 PM UTC-7, Shawn Milochik wrote:
>
> Have you tried recover () in func TestMain(m *testing.M)?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to