From 6e6f7999361925e4c944f308df4bc32a1842cd69 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 16 Apr 2019 01:10:09 +0000 Subject: cleanup: use '$ibx' consistently when referring to Inbox refs '$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. --- t/altid.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't') 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; } -- cgit v1.2.3-24-ge0c7