From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id EB0BA1FC0B for ; Wed, 17 Feb 2021 10:07:07 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 07/11] t/lei_to_mail: remove unnecessary arg passing Date: Wed, 17 Feb 2021 09:07:03 -0100 Message-Id: <20210217100707.6796-8-e@80x24.org> In-Reply-To: <20210217100707.6796-1-e@80x24.org> References: <20210217100707.6796-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: {zpipe} is contained entirely within the $l2m object, now. --- t/lei_to_mail.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); };