File: 01_compile.t

package info (click to toggle)
libcpan-inject-perl 1.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: perl: 1,589; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl 

# Compile testing for CPAN::Inject

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

use Test::More tests => 3;
use Test::Script;

ok( $] >= 5.005, 'Your perl is new enough' );

use_ok( 'CPAN::Inject' );
script_compiles_ok( 'script/cpaninject' );