From e977e6ec9cebe56739bf4a673045316398b0f8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 19 Mar 2022 09:42:11 +0800 Subject: [PATCH] Fixed an error in checking the file type in the test suite helper. --- t/_helper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/_helper.pm b/t/_helper.pm index fda7d20..df2f500 100644 --- a/t/_helper.pm +++ b/t/_helper.pm @@ -375,7 +375,7 @@ sub write_file($$) { } # an xz compressed file - } elsif ($file =~ /\.xz/) { + } elsif ($file =~ /\.xz$/) { # IO::Compress::Xz if (eval { require IO::Compress::Xz; 1; }) { my $xz;