6 use Test::Builder::Tester tests => 2;
9 BEGIN { use_ok( 'Test::Exception' ) };
11 test_out('not ok 1 - threw /fribble/');
13 throws_ok { confess('died') } '/fribble/';
15 test_diag('expecting: /fribble/');
16 test_diag(split /\n/, "found: $exception");
17 test_test('regex in stacktrace ignored');