From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: 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.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4E1F41F42D; Mon, 19 Mar 2018 08:18:24 +0000 (UTC) Date: Mon, 19 Mar 2018 08:18:24 +0000 From: Eric Wong To: meta@public-inbox.org Subject: SQUASH: [PATCH 27/27] v2writable: remove "resent" message for duplicate Message-IDs Message-ID: <20180319081824.GA24414@dcvr> References: <20180319081459.10645-1-e@80x24.org> <20180319081459.10645-28-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180319081459.10645-28-e@80x24.org> List-Id: Oops: diff --git a/t/v2writable.t b/t/v2writable.t index 2088f3f..85b48d2 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -57,7 +57,7 @@ if ('ensure git configs are correct') { my @warn; local $SIG{__WARN__} = sub { push @warn, @_ }; is($im->add($mime), undef, 'obvious duplicate rejected'); - like(join(' ', @warn), qr/resent/, 'warned about resent message'); + is(scalar(@warn), 0, 'no warning about resent message'); @warn = (); $mime->header_set('Message-Id', '', '');