Reduce indentation level and test for missing text ids
Change-Id: Ief41eaf446dd083abd3d63701a417279f5d9ec90
diff --git a/t/tei.t b/t/tei.t
index be5cb3d..4d068a6 100644
--- a/t/tei.t
+++ b/t/tei.t
@@ -61,6 +61,21 @@
};
+subtest 'skip missing dir in script' => sub {
+ test_tei2korapxml(
+ template => {
+ text => "Nur ein Test",
+ textSigle => '',
+ pattern => 'missing_dir'
+ }
+ )
+ ->file_exists_not('A/B/1/data.xml')
+ ->stderr_like(qr!Empty '<textSigle />' \(L29\) in header!)
+ ->stderr_like(qr!skipping this text!)
+ ;
+};
+
+
subtest 'escape_xml' => sub {
is(
escape_xml('"""'),