aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Docx.hs4
-rw-r--r--tests/docx/danish_headers.docxbin0 -> 17691 bytes
-rw-r--r--tests/docx/danish_headers.native10
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs
index 83f572131..565d117e9 100644
--- a/tests/Tests/Readers/Docx.hs
+++ b/tests/Tests/Readers/Docx.hs
@@ -157,6 +157,10 @@ tests = [ testGroup "inlines"
"docx/numbered_header.docx"
"docx/numbered_header.native"
, testCompare
+ "headers in other languages"
+ "docx/danish_headers.docx"
+ "docx/danish_headers.native"
+ , testCompare
"lists"
"docx/lists.docx"
"docx/lists.native"
diff --git a/tests/docx/danish_headers.docx b/tests/docx/danish_headers.docx
new file mode 100644
index 000000000..345fc632c
--- /dev/null
+++ b/tests/docx/danish_headers.docx
Binary files differ
diff --git a/tests/docx/danish_headers.native b/tests/docx/danish_headers.native
new file mode 100644
index 000000000..12a857811
--- /dev/null
+++ b/tests/docx/danish_headers.native
@@ -0,0 +1,10 @@
+[Header 1 ("testoverskrift",[],[]) [Str "Testoverskrift"]
+,Para [Str "Normal"]
+,Header 2 ("testoverskrift-2",[],[]) [Str "Testoverskrift",Space,Str "2"]
+,Table [] [AlignDefault,AlignDefault] [0.0,0.0]
+ [[Plain [Str "Kolonne1"]]
+ ,[Plain [Str "Kolonne2"]]]
+ [[[Plain [Str "Testdata",Space,Str "1"]]
+ ,[Plain [Str "Tester2"]]]
+ ,[[Plain [Str "Testdata",Space,Str "2"]]
+ ,[Plain [Str "Tester3"]]]]]