about summary refs log tree commit homepage
path: root/t/inbox.t
diff options
authorEric Wong <e@80x24.org>2021-03-28 09:01:24 +0000
committerEric Wong <e@80x24.org>2021-03-28 23:01:37 +0000
commit80f4192574065106ae72a7a73ee0f02ebd86708a (patch)
treeaf6889740669aa8e05bdef4ddf932f562b3a444b /t/inbox.t
parent8c8bd22ec8c74a3bf66a611a2a0c2d4d76a42ddb (diff)
File::Temp only requires four 'X' characters (unlike mkstemp(3),
which requires six).  So only so only give it 4 to avoid an
80-column violation and maybe save metadata space on FSes.
Diffstat (limited to 't/inbox.t')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/inbox.t b/t/inbox.t
index b7239e6d..0580cd23 100644
--- a/t/inbox.t
+++ b/t/inbox.t
@@ -13,7 +13,7 @@ is($x->base_url, 'http://example.com/test/', 'added trailing slash');
 $x = PublicInbox::Inbox->new({});
 is($x->base_url, undef, 'undef base_url allowed');
-my $tmpdir = File::Temp->newdir('pi-inbox-XXXXXX', TMPDIR => 1);
+my $tmpdir = File::Temp->newdir('pi-inbox-XXXX', TMPDIR => 1);
 $x->{inboxdir} = $tmpdir->dirname;
 is_deeply($x->cloneurl, [], 'no cloneurls');
 is($x->description, '($INBOX_DIR/description missing)', 'default description');