File: 01-load.t

package info (click to toggle)
libmodule-starter-plugin-cgiapp-perl 0.44-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 524 kB
  • sloc: perl: 1,119; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

# Test to see if the module loads correctly.
use warnings;
use strict;
use Test::More tests => <tmpl_var nummodules>;

BEGIN {
<tmpl_loop modules>
    use_ok('<tmpl_var modules_item>');
</tmpl_loop>
}

diag(
<tmpl_loop modules>
    "Testing <tmpl_var modules_item> $<tmpl_var modules_item>::VERSION, Perl $], $^X\n",
</tmpl_loop>
);