This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove typo fix from LaTex.pm, to keep it in sync with CPAN
[perl5.git] / lib / Pod / t / contains_pod.t
CommitLineData
fb59f973
SP
1#!/usr/bin/env perl
2
3# Copyright (C) 2005 Joshua Hoblitt
4#
5# $Id$
6
7use strict;
fb59f973
SP
8BEGIN {
9 if( $ENV{PERL_CORE} ) {
10 chdir 't';
11 @INC = '../lib';
12 } else {
13 use lib qw( ./lib );
14 }
15}
16
1bc4b319 17use Test::More tests => 2;
fb59f973
SP
18
19use Pod::Find qw( contains_pod );
20
21{
22 ok(contains_pod('lib/contains_pod.xr'), "contains pod");
23}
1bc4b319
SH
24
25{
26 ok(contains_pod('lib/contains_bad_pod.xr'), "contains bad pod");
27}