From b1ddf169801254979af17f682f37e96143b35982 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 26 Sep 2005 16:31:43 +0000 Subject: Upgrade to Test::Simple 0.61 p4raw-id: //depot/perl@25604 --- t/lib/Test/Simple/sample_tests/too_few.plx | 2 +- t/lib/Test/Simple/sample_tests/too_few_fail.plx | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 t/lib/Test/Simple/sample_tests/too_few_fail.plx (limited to 't') diff --git a/t/lib/Test/Simple/sample_tests/too_few.plx b/t/lib/Test/Simple/sample_tests/too_few.plx index 95af8e903b..bbc630ddce 100644 --- a/t/lib/Test/Simple/sample_tests/too_few.plx +++ b/t/lib/Test/Simple/sample_tests/too_few.plx @@ -8,4 +8,4 @@ Test::Simple->import(tests => 5); ok(1); -ok(0); +ok(1); diff --git a/t/lib/Test/Simple/sample_tests/too_few_fail.plx b/t/lib/Test/Simple/sample_tests/too_few_fail.plx new file mode 100644 index 0000000000..5910e132a2 --- /dev/null +++ b/t/lib/Test/Simple/sample_tests/too_few_fail.plx @@ -0,0 +1,12 @@ +require Test::Simple; + +push @INC, 't/lib'; +require Test::Simple::Catch; +my($out, $err) = Test::Simple::Catch::caught(); + +Test::Simple->import(tests => 5); + + +ok(0); +ok(1); +ok(0); \ No newline at end of file -- cgit v1.2.1