Fix test for converting base zip files to conllu
Change-Id: Ice2cc09988ecb38421c91c811bccb38044c1f822
diff --git a/t/test.t b/t/test.t
index becc3cd..847f16e 100644
--- a/t/test.t
+++ b/t/test.t
@@ -24,10 +24,8 @@
}
for my $base_fname (glob("t/data/*\.zip")) {
- next if($base_fname = ~ /\..*}./); # skip tagged files like goe.tree_tagger.zip
-
my $conllu_fname = $base_fname =~ s/(.*)\.zip/$1.conllu/r;
- die "cannot find $conllu_fname" if (!-e $conllu_fname);
+ next if (!-e $conllu_fname);
my $expected;
open(my $fh, '<', $conllu_fname) or die "cannot open file $conllu_fname"; {