sync a bunch of files with Test::Simple 0.86
[p5sagit/p5-mst-13.2.git] / t / lib / Test / Simple / sample_tests / pre_plan_death.plx
CommitLineData
60ffb308 1# ID 20020716.013, the exit code would become 0 if the test died
3c4bf434 2# $Id$
60ffb308 3# before a plan.
4
5require Test::Simple;
6
7push @INC, 't/lib';
8require Test::Simple::Catch;
9my($out, $err) = Test::Simple::Catch::caught();
10
11close STDERR;
12die "Knife?";
13
14Test::Simple->import(tests => 3);
15
16ok(1);
17ok(1);
18ok(1);