summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-09-26 16:31:43 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-09-26 16:31:43 +0000
commitb1ddf169801254979af17f682f37e96143b35982 (patch)
tree4008e1523b63a49dd8a8ffd0d73311bad93d53dc /t
parent1bb1745960244153b0ed527cc2c3eb327b8de825 (diff)
downloadperl-b1ddf169801254979af17f682f37e96143b35982.tar.gz
Upgrade to Test::Simple 0.61
p4raw-id: //depot/perl@25604
Diffstat (limited to 't')
-rw-r--r--t/lib/Test/Simple/sample_tests/too_few.plx2
-rw-r--r--t/lib/Test/Simple/sample_tests/too_few_fail.plx12
2 files changed, 13 insertions, 1 deletions
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