all repos — grayfriday @ a4274bba514ae50505413a2c31fc25728054c9b0

blackfriday fork with a few changes

add error message when panic has been raised within `doTestsBlock()`
Mathias Leppich mleppich@muhqu.de
Sun, 30 Mar 2014 21:59:20 +0200
commit

a4274bba514ae50505413a2c31fc25728054c9b0

parent

0c62e28e900533ff5d0376fac2e5b0c4894e1fa3

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M block_test.goblock_test.go

@@ -31,7 +31,7 @@ // catch and report panics

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) } }()