HTML-Parser-2.17 test flaw
Andreas J. Koenig (koenig@kulturbox.de)
16 May 1998 07:47:55 +0200
I don't know which other messages need to be caught, but I just
encoutered
Can't locate file 'HTTP/Headers.pm' in @INC (@INC
Maybe the test needs to be more tolerant than my patch. At least it
works for me (with perl5.004_65).
--- t/headparser-http.t-dist Sat May 16 07:42:14 1998
+++ t/headparser-http.t Sat May 16 07:43:29 1998
@@ -3,7 +3,7 @@
$p = HTML::HeadParser->new;
};
if ($@) {
- print "1..0\n" if $@ =~ /^Can't locate HTTP/;
+ print "1..0\n" if $@ =~ /^Can't locate file 'HTTP/;
print $@;
exit;
}
--
andreas