From 9669ce4fdda293c7b60cf7ac9b619a439d723233 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 08:39:49 +0800 Subject: [PATCH] Fixed an error checking file types 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 4d3c70a..de9fd36 100644 --- a/t/_helper.pm +++ b/t/_helper.pm @@ -288,7 +288,7 @@ sub read_file($) { } # an xz compressed file - } elsif ($file =~ /\.xz/) { + } elsif ($file =~ /\.xz$/) { # IO::Uncompress::UnXz if (eval { require IO::Uncompress::UnXz; 1; }) { my ($FH, $xz);