File: 02podcoverage.t

package info (click to toggle)
libsys-utmp-perl 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 176 kB
  • sloc: perl: 226; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl

use Test::More;
eval "use Test::Pod::Coverage tests => 2";
plan skip_all => "Test::Pod::Coverage required for testing POD Coverage" if $@;
pod_coverage_ok( "Sys::Utmp", {also_private => [ qr/constant/]},
                  "Sys::Utmp is covered" );
pod_coverage_ok( "Sys::Utmp::Utent", {also_private => [ qr/^UT_/]},
                  "Sys::Utmp::Utent is covered (ignoring field constants)" );