]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v2writable.t
index: warn with info about the message as context
[public-inbox.git] / t / v2writable.t
index f171417513440fb578382a1471ba3e13544af26c..2826513b0d66057669408f65df02cf5657944df5 100644 (file)
@@ -253,10 +253,9 @@ EOF
 }
 
 {
-       my @warn;
        my $x = 'x'x250;
        my $y = 'y'x250;
-       local $SIG{__WARN__} = sub { push @warn, @_ };
+       local $SIG{__WARN__} = sub {};
        $mime->header_set('Subject', 'long mid');
        $mime->header_set('Message-ID', "<$x>");
        ok($im->add($mime), 'add excessively long Message-ID');