From ca62a98e2d8f56767bedc09d1cc29ce49d427d64 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Tue, 17 Jul 2018 19:32:00 -0500 Subject: t/v2reindex.t: Don't reuse $ibx as two different kinds of variable Signed-off-by: "Eric W. Biederman" --- t/v2reindex.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') 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', -- cgit v1.2.3-24-ge0c7