about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/view.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/view.t b/t/view.t
index 8a898feb..4fdd1518 100644
--- a/t/view.t
+++ b/t/view.t
@@ -34,7 +34,8 @@ sub msg_html ($) {
         my ($mime) = @_;
 
         my $s = '';
-        my $body = PublicInbox::View::msg_html($ctx, $mime);
+        my $r = PublicInbox::View::msg_html($ctx, $mime);
+        my $body = $r->[2];
         while (defined(my $buf = $body->getline)) {
                 $s .= $buf;
         }