File: contains_pod.t

package info (click to toggle)
perl 5.10.0-19lenny5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 73,928 kB
  • ctags: 39,406
  • sloc: perl: 281,466; ansic: 182,157; sh: 37,027; pascal: 8,813; lisp: 7,515; cpp: 3,859; makefile: 2,320; xml: 1,972; yacc: 1,549
file content (25 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env perl

# Copyright (C) 2005  Joshua Hoblitt
#
# $Id$

use strict;

BEGIN {
    if( $ENV{PERL_CORE} ) {
        chdir 't';
        @INC = '../lib';
    } else {
        use lib qw( ./lib );
    }
}


use Test::More tests => 1;

use Pod::Find qw( contains_pod );

{
    ok(contains_pod('lib/contains_pod.xr'), "contains pod");
}