]> Cypherpunks repositories - gostls13.git/commit
testing: do not recover example's panic
authorShenghou Ma <minux.ma@gmail.com>
Thu, 19 Jan 2012 18:19:33 +0000 (10:19 -0800)
committerRob Pike <r@golang.org>
Thu, 19 Jan 2012 18:19:33 +0000 (10:19 -0800)
commitd888ab80a308e30b326a3303cc8c611ca22b9988
tree434c657e8fb5ded5876e0aabe46de5c2963f2f68
parente5c1f3870b1f0c23b851eaa0a9ffc38e8d8cac6b
testing: do not recover example's panic
        So as to give out stack trace for panic in examples.
        This behavior also matches the tests'.
        Fixes #2691.

R=golang-dev
CC=golang-dev
https://golang.org/cl/5554061
src/pkg/testing/example.go