add error message when panic has been raised within `doTestsBlock()`
This commit is contained in:
parent
0c62e28e90
commit
a4274bba51
|
|
@ -31,7 +31,7 @@ func doTestsBlock(t *testing.T, tests []string, extensions int) {
|
|||
var candidate string
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
t.Errorf("\npanic while processing [%#v]\n", candidate)
|
||||
t.Errorf("\npanic while processing [%#v]: %s\n", candidate, err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue