Skip to content

Commit

Permalink
Fix long-standing test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jul 17, 2011
1 parent 9dd1c30 commit 77391b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ChangeLog
Expand Up @@ -6,6 +6,10 @@
Pod::Simple now properly parses Pod files using Mac OS Classic line-
endings (\r). Marc Green/Google Summer of Code.

Fixed test failure in 't/search50.t when the test finds a .pod but
the module is in a .pm. Thanks to the cpan-testers who reported
this when the test searched for Capture::Tiny.

2011-07-09 David E. Wheeler <david@justatheory.org>
* Release 3.17

Expand Down Expand Up @@ -320,7 +324,6 @@

Just fixing some typos in the CSS generated by Pod::Simple:HTMLBatch.


2004-05-24 Sean M. Burke <sburke@cpan.org>
* Release 3.01

Expand Down
3 changes: 3 additions & 0 deletions t/search50.t
Expand Up @@ -76,6 +76,9 @@ if( $testmod ) {
my @x = ($x->find($testmod)||'(nil)', $testpath);
print "# Comparing \"$x[0]\" to \"$x[1]\"\n";
for(@x) { s{[/\\]}{/}g; }
# If it finds a .pod, it's probably correct, as that's where the docs are.
# Change it to .pm so that it matches.
$x[0] =~ s{[.]pod$}{.pm} if $x[1] =~ m{[.]pm$};
print "# => \"$x[0]\" to \"$x[1]\"\n";
ok
lc $x[0],
Expand Down

0 comments on commit 77391b2

Please sign in to comment.