]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/html_index.t
import: init_bare: allow use as method, use in tests
[public-inbox.git] / t / html_index.t
index 158a7862cfdd07abc9828ff2fe6e60d7bc5c0657..fda3962af646dfd52587eca56296e925637ac291 100644 (file)
@@ -22,7 +22,7 @@ my $im = PublicInbox::Import->new($git, 'tester', 'test@example');
 
 # setup
 {
-       is(0, system(qw(git init -q --bare), $git_dir), "git init");
+       $im->init_bare;
        my $prev = "";
 
        foreach my $i (1..6) {