about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/nntpd-tls.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/nntpd-tls.t b/t/nntpd-tls.t
index d81d1e13..2a76867a 100644
--- a/t/nntpd-tls.t
+++ b/t/nntpd-tls.t
@@ -151,7 +151,8 @@ for my $args (
                         \'STARTTLS not used by default';
                 ok(!lei(qw(ls-mail-source -c nntp.starttls=true),
                         "nntp://$starttls_addr"), 'STARTTLS verify fails');
-                diag $lei_err;
+                like $lei_err, qr/STARTTLS requested/,
+                        'STARTTLS noted in stderr';
         });
 
         SKIP: {