Improve offset error identification
Change-Id: Id5c9dadb043a3adff9ec2c70f3fd957c38fa9ee8
diff --git a/t/test.t b/t/test.t
index 112846d..52ac9d0 100644
--- a/t/test.t
+++ b/t/test.t
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More tests => 59;
+use Test::More tests => 61;
use Test::Script;
use Test::TempDir::Tiny;
use File::Copy;
@@ -212,4 +212,7 @@
script_stdout_like("WDF19/A0000/13072/tree_tagger/morpho.xml", "--sigle-pattern to specify a text sigle pattern extracts the right texts");
script_stdout_unlike("WDF19/A0000/14247/tree_tagger/morpho.xml", "--sigle-pattern to specify a text sigle pattern does not extract the wrong texts");
+script_runs([ 'script/korapxml2conllu', "t/data/nkjp-fail.zip" ], "Runs korapxml2conllu on nkjp-fail test data");
+script_stderr_like("could not retrieve token at 1297-1298/ 1297 - ending with: e! upadku.", "Offset error");
+
done_testing;