summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/t/Builder/no_header.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Simple/t/Builder/no_header.t')
-rw-r--r--cpan/Test-Simple/t/Builder/no_header.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/Builder/no_header.t b/cpan/Test-Simple/t/Builder/no_header.t
new file mode 100644
index 0000000000..93e6bec34c
--- /dev/null
+++ b/cpan/Test-Simple/t/Builder/no_header.t
@@ -0,0 +1,21 @@
+BEGIN {
+ if( $ENV{PERL_CORE} ) {
+ chdir 't';
+ @INC = '../lib';
+ }
+}
+
+use Test::Builder;
+
+# STDOUT must be unbuffered else our prints might come out after
+# Test::More's.
+$| = 1;
+
+BEGIN {
+ Test::Builder->new->no_header(1);
+}
+
+use Test::More tests => 1;
+
+print "1..1\n";
+pass;