# HG changeset patch # User Maxim Dounin # Date 1220800009 -14400 # Node ID 8813a78ab8b546427514590f1b3c46e5510d8aa8 # Parent 4d75bdb05ecf58898f48be0f1c823bee5fc5f3a7 Tests: drop LWP dependency. diff --git a/_common.pm b/_common.pm --- a/_common.pm +++ b/_common.pm @@ -75,7 +75,7 @@ sub log_out { sub log_in { my ($msg) = @_; $msg =~ s/^/# << /gm; - $msg =~ s/([\x00-\x1f\x7f-])/sprintf('\\x%02x', ord($1)) . (($1 eq "\n") ? "\n" : '')/gmxe; + $msg =~ s/([^\x20-\x7e])/sprintf('\\x%02x', ord($1)) . (($1 eq "\n") ? "\n" : '')/gmxe; $msg .= "\n" unless $msg =~ /\n\Z/; print $msg; } diff --git a/ssi-include-big.t b/ssi-include-big.t --- a/ssi-include-big.t +++ b/ssi-include-big.t @@ -12,7 +12,6 @@ use strict; use Test::More tests => 3; use _common; -use Compress::Zlib; ############################################################################### @@ -34,21 +33,18 @@ write_file('test3.html', '