Navigation Menu

Skip to content

Commit

Permalink
Fixes undef warning in t/document/file.t.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Aug 6, 2013
1 parent 3881de2 commit 531ece2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Document/Module.pm
Expand Up @@ -46,7 +46,7 @@ from the index.
=head1 METHODS
=head2 hide_from_pause( $content )
=head2 hide_from_pause( $content, $file_name )
Using this pragma, you can hide a module from the CPAN indexer:
Expand Down
2 changes: 1 addition & 1 deletion t/document/file.t
Expand Up @@ -119,7 +119,7 @@ END
is( $file->abstract,
'An object containing information about how to get access to teh Moby databases, resources, etc. from the mobycentral.config file'
);
is( $file->module->[0]->hide_from_pause(${$file->content}), 0, 'indexed' );
is( $file->module->[0]->hide_from_pause(${$file->content}, $file->name), 0, 'indexed' );
is( $file->documentation, 'MOBY::Config.pm' );
is( $file->level, 2);
}
Expand Down

0 comments on commit 531ece2

Please sign in to comment.