about summary refs log tree commit homepage
path: root/t/hl_mod.t
diff options
context:
space:
mode:
Diffstat (limited to 't/hl_mod.t')
-rw-r--r--t/hl_mod.t2
1 files changed, 1 insertions, 1 deletions
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, \('<pre>'.$$ref.'</pre>'), \$out, \$err);
                 # expand tabs and normalize whitespace,
                 # w3m doesn't preserve tabs
                 $orig =~ s/\t/        /gs;