Add test with [Übersetzer] in metadata
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 650a999..e581c0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,7 +9,7 @@
DEBIAN_FRONTEND: noninteractive
APT_CACHE_DIR: apt-cache
SRC_DIR: test/resources/DNB
- YEARS: 18
+ YEARS: "13 18"
build-and-test-i5:
stage: test
diff --git a/test/resources/DNB/1033352020.epub b/test/resources/DNB/1033352020.epub
new file mode 100644
index 0000000..f38bf7e
--- /dev/null
+++ b/test/resources/DNB/1033352020.epub
Binary files differ
diff --git a/test/test-xml.sh b/test/test-xml.sh
index 65ade92..154ba43 100755
--- a/test/test-xml.sh
+++ b/test/test-xml.sh
@@ -28,7 +28,7 @@
log_failure "$I5_FILE does not contain $TEXTS non-empty h.author elements"
fi
-observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/sourceDesc/biblStruct/monogr/h.author[contains(., '[')])" $I5_FILE)
+observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/sourceDesc/biblStruct/monogr/h.author[contains(., '[')])" target/dnb13.i5.xml)
if $(assert_eq "$observed" "0"); then
log_success "authors do not contain []"
else