]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/feed.t
import: init_bare: allow use as method, use in tests
[public-inbox.git] / t / feed.t
index cfa09a7c68eae9549668c40b07589d8b20d6c3c4..ffd5ca7e71f86dc9a37ba5d1865dc38e11619f5a 100644 (file)
--- a/t/feed.t
+++ b/t/feed.t
@@ -34,7 +34,7 @@ my $git = $ibx->git;
 my $im = PublicInbox::Import->new($git, $ibx->{name}, 'test@example');
 
 {
-       is(0, system(qw(git init -q --bare), $git_dir), "git init");
+       $im->init_bare;
        local $ENV{GIT_DIR} = $git_dir;
 
        foreach my $i (1..6) {