File: 01_compile.t

package info (click to toggle)
libtest-nowarnings-perl 1.04-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 152 kB
  • ctags: 20
  • sloc: perl: 354; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

use strict;
BEGIN {
	$| = 1;
	$^W = 1;
}

use Test::More tests => 4;

require_ok( 'Test::NoWarnings' );
ok( $Test::NoWarnings::VERSION, 'Loaded Test::NoWarnings' );
ok( $Test::NoWarnings::Warning::VERSION, 'Loaded Test::NoWarnings::Warning' );
is(
	$Test::NoWarnings::VERSION,
	$Test::NoWarnings::Warning::VERSION,
	'Loaded matching Test::NoWarnings::Warning',
);