The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/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 => 2;
use Pod::Find qw( contains_pod );
{
ok(contains_pod('lib/contains_pod.xr'), "contains pod");
}
{
ok(contains_pod('lib/contains_bad_pod.xr'), "contains bad pod");
}