]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/search-thr-index.t
config: support "inboxdir" in addition to "mainrepo"
[public-inbox.git] / t / search-thr-index.t
index 4b26f2ee34580c9d3e074afe83f5513fcc0466e9..26339989cf8de4592f2bfa31476689aed8897546 100644 (file)
@@ -18,7 +18,7 @@ my $tmpdir = tempdir('pi-search-thr-index.XXXXXX', TMPDIR => 1, CLEANUP => 1);
 my $git_dir = "$tmpdir/a.git";
 
 is(0, system(qw(git init -q --bare), $git_dir), "git init (main)");
-my $ibx = PublicInbox::Inbox->new({mainrepo => $git_dir});
+my $ibx = PublicInbox::Inbox->new({inboxdir => $git_dir});
 my $rw = PublicInbox::SearchIdx->new($ibx, 1);
 ok($rw, "search indexer created");
 my $data = <<'EOF';