File: no_diag.t

package info (click to toggle)
libtest-simple-perl 0.94-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 836 kB
  • ctags: 224
  • sloc: perl: 5,744; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
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);