about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-04-16 01:10:09 +0000
committerEric Wong <e@80x24.org>2019-04-16 20:58:23 +0000
commit6e6f7999361925e4c944f308df4bc32a1842cd69 (patch)
tree2e190ffc0b3ba4be68d82b28cb86a0d9826426ae /t
parenta94349cda5763507d665809676fccc7b34575a21 (diff)
downloadpublic-inbox-6e6f7999361925e4c944f308df4bc32a1842cd69.tar.gz
'$inbox' is more human-readable, so that is for the more
human-readable name in most cases.  Making our variable naming
more consistent should make the code easier-to-review and
harder to screw up.
Diffstat (limited to 't')
-rw-r--r--t/altid.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/altid.t b/t/altid.t
index d4f6152e..13a44a3b 100644
--- a/t/altid.t
+++ b/t/altid.t
@@ -42,9 +42,9 @@ my $altid = [ "serial:gmane:file=$alt_file" ];
         $im->done;
 }
 {
-        my $inbox = PublicInbox::Inbox->new({mainrepo=>$git_dir});
-        $inbox->{altid} = $altid;
-        my $rw = PublicInbox::SearchIdx->new($inbox, 1);
+        my $ibx = PublicInbox::Inbox->new({mainrepo => $git_dir});
+        $ibx->{altid} = $altid;
+        my $rw = PublicInbox::SearchIdx->new($ibx, 1);
         $rw->index_sync;
 }