about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-13 10:16:11 +0000
committerEric Wong <e@80x24.org>2021-10-13 19:52:26 +0000
commita565ab97852d4885e8bed138865eceafdabf63ec (patch)
treef6e8f74eafd8ad813bddd61733a2988aa9d1d8a1
parent83e7e8640ed8ce72f40771a52010ab996b07e5a2 (diff)
downloadpublic-inbox-a565ab97852d4885e8bed138865eceafdabf63ec.tar.gz
This test wasn't finished when I initially wrote it :x
-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: {