From 80f4192574065106ae72a7a73ee0f02ebd86708a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 28 Mar 2021 09:01:24 +0000 Subject: treewide: shorten temporary filename 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. --- t/inbox.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/inbox.t') 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'); -- cgit v1.2.3-24-ge0c7