]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
t/nntpd.t: avoid `used only once' warning
authorEric Wong <e@80x24.org>
Sat, 8 Apr 2023 20:19:28 +0000 (20:19 +0000)
committerEric Wong <e@80x24.org>
Sat, 8 Apr 2023 21:33:31 +0000 (21:33 +0000)
We can't use cross-package `our' variables without `use'-ing the
package, first.

t/nntpd.t

index ab6876bb5de2267dc69d78027814386be83f49d7..80df4dc58bf6781816709171309f9b46dfb3fb20 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -8,6 +8,7 @@ use Socket qw(IPPROTO_TCP TCP_NODELAY);
 use Sys::Hostname;
 use POSIX qw(_exit);
 use PublicInbox::SHA;
+use PublicInbox::DS;
 
 # t/nntpd-v2.t wraps this for v2
 my $version = $ENV{PI_TEST_VERSION} || 1;