[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[PATCH] incorrectly failing test in lib/Pod/t/text.t



Since http://rt.cpan.org/Ticket/Display.html?id=25679 is fixed, there's no
longer a Pod::Simple bug that needs to be worked around here.  The test file
does have an incorrectly missing newline in the expected output, though.  The
attached patch fixes both issues.

hdp.
--- lib/Pod/t/text.t.orig	2008-06-05 12:34:09.000000000 -0400
+++ lib/Pod/t/text.t	2008-06-05 12:34:13.000000000 -0400
@@ -57,8 +57,6 @@
     }
     if ($output eq $expected) {
         print "ok $n\n";
-    } elsif ($n == 4 && $Pod::Simple::VERSION < 3.08) {
-        print "ok $n # skip Pod::Simple S<> parsing bug\n";
     } else {
         print "not ok $n\n";
         print "Expected\n========\n$expected\nOutput\n======\n$output\n";
@@ -99,5 +97,6 @@
 ###
 Test of S<>
     This is some    whitespace.
+
 ###
 ==

Follow-Ups from:
"Steve Peters" <steve@fisharerojo.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]