about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/v2reindex.t4
1 files changed, 2 insertions, 2 deletions
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',