Since, it is not possible to rely on defer to execute a function in TestMain 
<https://golang.org/pkg/testing/#hdr-Main> when a panic in some test occurs:
https://github.com/golang/go/issues/13149
I'd like to know what do you use/suggest for workaround.

Thanks,

p.


-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to