source:
trunk/essentials/dev-lang/perl/lib/Pod/t/Functions.t@
3184
| Last change on this file since 3184 was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 4.6 KB | |
| Line | |
|---|---|
| 1 | #!perl |
| 2 | |
| 3 | BEGIN { |
| 4 | chdir 't' if -d 't'; |
| 5 | @INC = '../lib'; |
| 6 | } |
| 7 | |
| 8 | use File::Basename; |
| 9 | use File::Spec; |
| 10 | |
| 11 | use Test::More; |
| 12 | plan tests => 9; |
| 13 | |
| 14 | |
| 15 | use_ok( 'Pod::Functions' ); |
| 16 | |
| 17 | # How do you test exported vars? |
| 18 | my( $pkg_ref, $exp_ref ) = ( \%Pod::Functions::Kinds, \%Kinds ); |
| 19 | is( $pkg_ref, $exp_ref, '%Pod::Functions::Kinds exported' ); |
| 20 | |
| 21 | ( $pkg_ref, $exp_ref ) = ( \%Pod::Functions::Type, \%Type ); |
