From: Eric Wong Date: Wed, 17 Feb 2021 10:07:03 +0000 (-0100) Subject: t/lei_to_mail: remove unnecessary arg passing X-Git-Tag: v1.7.0~1113 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=ba95bad037aca78d32ec4ee1ab3a2994ff3953f5 t/lei_to_mail: remove unnecessary arg passing {zpipe} is contained entirely within the $l2m object, now. --- diff --git a/t/lei_to_mail.t b/t/lei_to_mail.t index 77e9902e..6a571660 100644 --- a/t/lei_to_mail.t +++ b/t/lei_to_mail.t @@ -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); };