]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntpd.t
tests: make require_git and require_cmd easier-to-use
[public-inbox.git] / t / nntpd.t
index 84a605741c10f218946d60c1593a83819927344a..dbbc37b8d3e5d43a5e7180b7fd6d939ba8ed6732 100644 (file)
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -413,7 +413,7 @@ sub test_watch {
        use_ok 'PublicInbox::Watch';
        use_ok 'PublicInbox::InboxIdle';
        use_ok 'PublicInbox::Config';
-       require_git('1.8.5', 1) or skip('git 1.8.5+ needed for --urlmatch', 4);
+       require_git('1.8.5', 4);
        my $old_env = { HOME => $ENV{HOME} };
        my $home = "$tmpdir/watch_home";
        mkdir $home or BAIL_OUT $!;