Mark all .t and .pm files as non executable
[p5sagit/p5-mst-13.2.git] / lib / Pod / t / contains_pod.t
CommitLineData
fb59f973 1#!/usr/bin/env perl
2
3# Copyright (C) 2005 Joshua Hoblitt
4#
5# $Id$
6
7use strict;
fb59f973 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 18
19use Pod::Find qw( contains_pod );
20
21{
22 ok(contains_pod('lib/contains_pod.xr'), "contains pod");
23}
1bc4b319 24
25{
26 ok(contains_pod('lib/contains_bad_pod.xr'), "contains bad pod");
27}