]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/imapd-tls.t
testcommon: allow OR-ing module dependencies
[public-inbox.git] / t / imapd-tls.t
index 5352d100e4b8517eba4192e894eba0b8337185b7..f81959a5826da3fe5729b77a340025a9234ebc7b 100644 (file)
@@ -6,7 +6,8 @@ use Test::More;
 use Socket qw(IPPROTO_TCP SOL_SOCKET);
 use PublicInbox::TestCommon;
 # IO::Poll is part of the standard library, but distros may split it off...
-require_mods(qw(DBD::SQLite IO::Socket::SSL Mail::IMAPClient IO::Poll));
+require_mods(qw(DBD::SQLite IO::Socket::SSL Mail::IMAPClient IO::Poll
+       Email::Address::XS||Mail::Address));
 my $imap_client = 'Mail::IMAPClient';
 $imap_client->can('starttls') or
        plan skip_all => 'Mail::IMAPClient does not support TLS';