]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
tests: skip properly with git <2.6
[public-inbox.git] / t / nntpd.t
index 6c100138b262918298c5ced9d872695c197b43d4..18aaccbea50f6c0a7a5c853c9ee75df5b5abb007 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -13,11 +13,11 @@ use Net::NNTP;
 use Sys::Hostname;
 use POSIX qw(_exit);
 use Digest::SHA;
-use_ok 'PublicInbox::Msgmap';
 
 # t/nntpd-v2.t wraps this for v2
 my $version = $ENV{PI_TEST_VERSION} || 1;
 require_git('2.6') if $version == 2;
+use_ok 'PublicInbox::Msgmap';
 my $lsof = which('lsof');
 my $fast_idle = eval { require Linux::Inotify2; 1 } //
                eval { require IO::KQueue; 1 };