This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to Test-Simple-0.78
[perl5.git] / t / lib / Test / Simple / sample_tests / death.plx
1 require Test::Simple;
2
3 push @INC, 't/lib';
4 require Test::Simple::Catch;
5 my($out, $err) = Test::Simple::Catch::caught();
6
7 require Dev::Null;
8
9 Test::Simple->import(tests => 5);
10 tie *STDERR, 'Dev::Null';
11
12 ok(1);
13 ok(1);
14 ok(1);
15 die "This is a test";