commit | cc3914703908d25fc3bade72a32e0c2169a187da | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Jun 24 10:48:34 2024 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Mon Jun 24 15:10:49 2024 +0200 |
tree | f3c79d11ad2a8b6bf0e1f5b1f1653423ec7e8714 | |
parent | 249fc8310cea40390425808956d773e5b014cb9b [diff] [blame] |
2korapxml: Trim docid to avoid spurious trailing spaces Change-Id: I2b7d80a6add6c6b8867f785813c16dbd0f5c43cd
diff --git a/t/test.t b/t/test.t index bff3ccf..d095392 100644 --- a/t/test.t +++ b/t/test.t
@@ -25,6 +25,7 @@ if (open(my $fh, '<', $conllu_fname)) { local $/; $expected = <$fh>; + $expected =~ s/^(# text_id\s*=\s*\S+)\s*$/$1/mg; close($fh); } else { fail("cannot open file $conllu_fname");