diff options
Diffstat (limited to 'cpan/Test-Simple/t/Builder/no_diag.t')
-rw-r--r-- | cpan/Test-Simple/t/Builder/no_diag.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/Builder/no_diag.t b/cpan/Test-Simple/t/Builder/no_diag.t new file mode 100644 index 0000000000..6fa538a82e --- /dev/null +++ b/cpan/Test-Simple/t/Builder/no_diag.t @@ -0,0 +1,8 @@ +#!/usr/bin/perl -w + +use Test::More 'no_diag', tests => 2; + +pass('foo'); +diag('This should not be displayed'); + +is(Test::More->builder->no_diag, 1); |