This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In t/op/reset.t, don't eval "" in void context - die if something goes wrong.
authorNicholas Clark <nick@ccl4.org>
Mon, 11 Apr 2011 19:51:06 +0000 (20:51 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 19 May 2011 07:55:56 +0000 (08:55 +0100)
commitff8b4a37b8ca0e9a0173fe95013ab4f3501c306b
tree318b548bd62352c119857875328d8c0c746561c7
parentdf31c78cf7b9fe7489c1f6df0057b7c220c7cb1c
In t/op/reset.t, don't eval "" in void context - die if something goes wrong.

Because sometimes the "it can never happen" does. For example, "panic: free
from wrong pool". And it's awfully confusing if the error message is eaten.
There's not even a "I barfed you an error but then I eated it" caption to give
a clue about what happened.
t/op/reset.t