tokuhirom / Test-Pretty

Other
20 stars 17 forks source link

exception in subtest is ignored... #5

Closed typester closed 11 years ago

typester commented 11 years ago

prove -Pretty -lv against following code will print All 1 subtests passed! But expect FAIL

use strict;
use warnings;

use Test::More;

subtest 'hoge' => sub {
    ok 1;

    die;

    ok 2;
};

done_testing;