Permalink
Browse files

Merge pull request #38 from grantm/expect-chars

suppress spurious warnings
  • Loading branch information...
2 parents 009a0fc + b88be07 commit 9a83dde1d789dd8f6128910e414f208d1d7b3b21 @theory committed Aug 14, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −0 lib/Pod/Simple/BlackBox.pm
  2. +0 −3 t/enc-chars.t
@@ -179,6 +179,7 @@ sub parse_lines { # Usage: $parser->parse_lines(@lines)
# HERE WE CATCH =encoding EARLY!
if( $line =~ m/^=encoding\s+\S+\s*$/s ) {
+ next if $self->parse_characters; # Ignore this line
$line = $self->_handle_encoding_line( $line );
}
View
@@ -52,7 +52,4 @@ else {
ok(0);
}
-
-
-warn $output;
exit;

0 comments on commit 9a83dde

Please sign in to comment.