diff options
author | Eric Wong <e@80x24.org> | 2019-06-14 17:01:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-14 17:27:06 +0000 |
commit | 585314673236d664729fe3ab2d4fb229d1c0f2d5 (patch) | |
tree | 8e5c0c5b56a662a85dbc0022b20c3272c1a2c34b /t/nntpd.t | |
parent | f70abe08b768bb0d5537ef2c3f9091069046d9a2 (diff) | |
download | public-inbox-585314673236d664729fe3ab2d4fb229d1c0f2d5.tar.gz |
PublicInbox::Inbox objects have minimal dependencies, so drop code to support old tests which existed before the PublicInbox::Inbox object came into existence.
Diffstat (limited to 't/nntpd.t')
-rw-r--r-- | t/nntpd.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ EOF $im->add($mime); $im->done; if ($version == 1) { - my $s = PublicInbox::SearchIdx->new($mainrepo, 1); + my $s = PublicInbox::SearchIdx->new($ibx, 1); $s->index_sync; } } @@ -243,7 +243,7 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000 $im->add($for_leafnode); $im->done; if ($version == 1) { - my $s = PublicInbox::SearchIdx->new($mainrepo, 1); + my $s = PublicInbox::SearchIdx->new($ibx, 1); $s->index_sync; } my $hdr = $n->head("<$long_hdr>"); |