X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fsearch-thr-index.t;h=26339989cf8de4592f2bfa31476689aed8897546;hp=4b26f2ee34580c9d3e074afe83f5513fcc0466e9;hb=3c39f9c942a6975245fda878e9b957d8d3367662;hpb=28264f7af4d9f4fab951f0613a0b08b6e98af7d3 diff --git a/t/search-thr-index.t b/t/search-thr-index.t index 4b26f2ee..26339989 100644 --- a/t/search-thr-index.t +++ b/t/search-thr-index.t @@ -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';