summaryrefslogtreecommitdiff
path: root/lib/Test/Simple/t/no_diag.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Test/Simple/t/no_diag.t')
-rw-r--r--lib/Test/Simple/t/no_diag.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Test/Simple/t/no_diag.t b/lib/Test/Simple/t/no_diag.t
index 21ecd03192..6fa538a82e 100644
--- a/lib/Test/Simple/t/no_diag.t
+++ b/lib/Test/Simple/t/no_diag.t
@@ -1,6 +1,8 @@
#!/usr/bin/perl -w
-use Test::More 'no_diag', tests => 1;
+use Test::More 'no_diag', tests => 2;
pass('foo');
diag('This should not be displayed');
+
+is(Test::More->builder->no_diag, 1);