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");