]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v2writable.t
v2writable: remove "resent" message for duplicate Message-IDs
[public-inbox.git] / t / v2writable.t
index 2088f3fe2f4de47c3560886d2e24477d9c628d1f..85b48d2affff215f01951b67ebdfc9ebb0b8fb15 100644 (file)
@@ -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', '<a-mid@b>', '<c@d>');