File: 200-px-file-ok.t

package info (click to toggle)
libtest-compile-perl 3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: perl: 816; makefile: 2; sh: 1
file content (13 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl
use strict;
use warnings;
use Test::More tests => 4;
use Test::Compile qw( pl_file_ok pm_file_ok );

# pl_file_ok() and pm_file_ok() both call 'ok()' as required
# so we can't do that explicitly in this script...
# this file is mostly just to increase the coverage.
pl_file_ok('t/scripts/subdir/success.pl', 'success.pl compiles');
pm_file_ok('t/scripts/Module.pm', 'Module.pm compiles');
pl_file_ok('t/scripts/subdir/success.pl');
pm_file_ok('t/scripts/Module.pm');