X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fsearch-thr-index.t;h=26339989cf8de4592f2bfa31476689aed8897546;hb=96a8b8832d791d53e05f235b5bc2492daab5f60a;hp=0f593c2aa8a823fafcb91b5a469c2bb1a09ebae1;hpb=3b508de80a200e9a32adbdc437434339187dde88;p=public-inbox.git diff --git a/t/search-thr-index.t b/t/search-thr-index.t index 0f593c2a..26339989 100644 --- a/t/search-thr-index.t +++ b/t/search-thr-index.t @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2018 all contributors +# Copyright (C) 2017-2019 all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -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';