Move Test::Simple from lib to ext.
[p5sagit/p5-mst-13.2.git] / ext / Test-Simple / t / lib / Test / Simple / sample_tests / death.plx
CommitLineData
4dd974da 1require Test::Simple;
2
d020a79a 3push @INC, 't/lib';
4require Test::Simple::Catch;
5my($out, $err) = Test::Simple::Catch::caught();
4dd974da 6
04955c14 7require Dev::Null;
8
4dd974da 9Test::Simple->import(tests => 5);
04955c14 10tie *STDERR, 'Dev::Null';
4dd974da 11
12ok(1);
13ok(1);
14ok(1);
c7623038 15$! = 0;
04955c14 16die "This is a test";