]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/TestCommon.pm
tests: skip properly with git <2.6
[public-inbox.git] / lib / PublicInbox / TestCommon.pm
index f5b3fae43e8219bcb5a758dd0ed8ea5d8b3bfa12..d6b7d20e385b1b7e68d98444ea570ac46cc671cb 100644 (file)
@@ -476,7 +476,7 @@ sub test_lei {
 SKIP: {
        my ($cb) = pop @_;
        my $test_opt = shift // {};
-       require_git(2.6) or skip('git 2.6+ required for lei test', 2);
+       require_git(2.6, 1) or skip('git 2.6+ required for lei test', 2);
        require_mods(qw(json DBD::SQLite Search::Xapian), 2);
        require PublicInbox::Config;
        delete local $ENV{XDG_DATA_HOME};