Added comment regarding missing pagebreaks in the data
Change-Id: I19aafe1eb8ff0a56b0a124512063eb0193dc9d9c
diff --git a/t/real/goethe-2.t b/t/real/goethe-2.t
index d197617..70e38a5 100644
--- a/t/real/goethe-2.t
+++ b/t/real/goethe-2.t
@@ -128,11 +128,11 @@
ok(!exists $output->{docEditor}, 'Correct Text Type');
## Base
-$tokens->add('DeReKo', 'Structure', 'base_sentences_paragraphs');
+$tokens->add('DeReKo', 'Structure', 'base_sentences_paragraphs_pagebreaks');
$output = $tokens->to_data;
-is($output->{data}->{foundries}, 'dereko dereko/structure dereko/structure/base_sentences_paragraphs', 'Foundries');
+is($output->{data}->{foundries}, 'dereko dereko/structure dereko/structure/base_sentences_paragraphs_pagebreaks', 'Foundries');
is($output->{data}->{layerInfos}, 'dereko/s=spans', 'layerInfos');
my $first_token = join('||', @{$output->{data}->{stream}->[0]});
like($first_token, qr/s:Autobiographische/, 'data');
@@ -143,6 +143,9 @@
like($first_token, qr!-:base\/paragraphs\$\<i\>14!, 'data');
like($first_token, qr!-:base\/sentences\$\<i\>215!, 'data');
+# $output->{data}->{stream}->[378];
+diag 'BUG: Expected a missing pagebreak';
+
# Check paragraph
$first_token = join('||', @{$output->{data}->{stream}->[4]});
like($first_token, qr/s:immer/, 'data');