From: Eric W. Biederman Date: Wed, 18 Jul 2018 00:32:00 +0000 (-0500) Subject: t/v2reindex.t: Don't reuse $ibx as two different kinds of variable X-Git-Tag: v1.2.0~486 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ca62a98e2d8f56767bedc09d1cc29ce49d427d64;p=public-inbox.git t/v2reindex.t: Don't reuse $ibx as two different kinds of variable Signed-off-by: "Eric W. Biederman" --- diff --git a/t/v2reindex.t b/t/v2reindex.t index f8e2b1b2..5bc307f1 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -14,13 +14,13 @@ foreach my $mod (qw(DBD::SQLite Search::Xapian)) { } use_ok 'PublicInbox::V2Writable'; my $mainrepo = tempdir('pi-v2reindex-XXXXXX', TMPDIR => 1, CLEANUP => 1); -my $ibx = { +my $ibx_config = { mainrepo => $mainrepo, name => 'test-v2writable', version => 2, -primary_address => 'test@example.com', }; -$ibx = PublicInbox::Inbox->new($ibx); +my $ibx = PublicInbox::Inbox->new($ibx_config); my $mime = PublicInbox::MIME->create( header => [ From => 'a@example.com',