X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhl_mod.t;h=80f88907e4ed577f74ed3e95d5a281cdd84c6d2f;hb=fd8e62c1ed9b9f7eb851a263a9ada2cb8c182193;hp=62cc62488f51479c401fda9c76103857f57fd5c0;hpb=3998cdd1c94661687cee413b01b95422cf02c34a;p=public-inbox.git diff --git a/t/hl_mod.t b/t/hl_mod.t index 62cc6248..80f88907 100644 --- a/t/hl_mod.t +++ b/t/hl_mod.t @@ -27,7 +27,7 @@ my $orig = $str; require File::Temp; my $cmd = [ qw(w3m -T text/html -dump -config /dev/null) ]; my ($out, $err) = ('', ''); - IPC::Run::run($cmd, $ref, \$out, \$err); + IPC::Run::run($cmd, \('
'.$$ref.'
'), \$out, \$err); # expand tabs and normalize whitespace, # w3m doesn't preserve tabs $orig =~ s/\t/ /gs;