summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t')
-rw-r--r--cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t b/cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t
new file mode 100644
index 0000000000..ff5f40c197
--- /dev/null
+++ b/cpan/Test-Simple/t/Builder/done_testing_with_no_plan.t
@@ -0,0 +1,11 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+use Test::Builder;
+
+my $tb = Test::Builder->new;
+$tb->plan( "no_plan" );
+$tb->ok(1);
+$tb->ok(1);
+$tb->done_testing(2);