# For testing Test::Simple;
+# $Id: /mirror/googlecode/test-more-trunk/t/lib/Test/Simple/Catch.pm 67132 2008-10-01T01:11:04.501643Z schwern $
package Test::Simple::Catch;
use Symbol;
use TieOut;
-my($out_fh, $err_fh) = (gensym, gensym);
+my( $out_fh, $err_fh ) = ( gensym, gensym );
my $out = tie *$out_fh, 'TieOut';
my $err = tie *$err_fh, 'TieOut';
$t->failure_output($err_fh);
$t->todo_output($err_fh);
-sub caught { return($out, $err) }
+sub caught { return( $out, $err ) }
1;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/death.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/death_in_eval.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
use Carp;
push @INC, 't/lib';
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/death_with_handler.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Builder;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/exit.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
exit 1;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/extras.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/five_fail.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
use lib 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/last_minute_death.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/one_fail.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
# ID 20020716.013, the exit code would become 0 if the test died
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/pre_plan_death.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
# before a plan.
require Test::Simple;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/require.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/success.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/too_few.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/too_few_fail.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;
ok(0);
ok(1);
-ok(0);
\ No newline at end of file
+ok(0);
require Test::Simple;
+# $Id: /mirror/googlecode/test-more/t/lib/Test/Simple/sample_tests/two_fail.plx 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
push @INC, 't/lib';
require Test::Simple::Catch;