Move Test::Simple from lib to ext.
[p5sagit/p5-mst-13.2.git] / ext / Test-Simple / t / lib / Test / Simple / sample_tests / death_in_eval.plx
CommitLineData
4dd974da 1require Test::Simple;
2use Carp;
3
d020a79a 4push @INC, 't/lib';
5require Test::Simple::Catch;
6my($out, $err) = Test::Simple::Catch::caught();
4dd974da 7
8Test::Simple->import(tests => 5);
9
10ok(1);
11ok(1);
12ok(1);
13eval {
14 die "Foo";
15};
16ok(1);
17eval "die 'Bar'";
18ok(1);
19
20eval {
21 croak "Moo";
22};