]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/lei_to_mail: remove unnecessary arg passing
authorEric Wong <e@80x24.org>
Wed, 17 Feb 2021 10:07:03 +0000 (09:07 -0100)
committerEric Wong <e@80x24.org>
Thu, 18 Feb 2021 07:57:19 +0000 (03:57 -0400)
{zpipe} is contained entirely within the $l2m object, now.

t/lei_to_mail.t

index 77e9902ef32c6509b688b41b752ccbb7086f7203..6a571660d6861350787444d0615a19123070e54a 100644 (file)
@@ -101,9 +101,9 @@ my $wcb_get = sub {
                my $dup = Storable::thaw(Storable::freeze($l2m));
                is_deeply($dup, $l2m, "$fmt round-trips through storable");
        }
-       my $zpipe = $l2m->pre_augment($lei);
+       $l2m->pre_augment($lei);
        $l2m->do_augment($lei);
-       $l2m->post_augment($lei, $zpipe);
+       $l2m->post_augment($lei);
        $l2m->write_cb($lei);
 };