aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Org
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-11-22 12:50:08 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2020-11-22 12:53:05 +0100
commit5344dab8ebf29ff96dd9e0d1411e11b44e2ccccf (patch)
tree8af87d5bd62cd99cda9147bd58d4f0dab27607aa /test/Tests/Readers/Org
parentae52918faa36ad59deca3561acce79ad6d3ea0c2 (diff)
downloadpandoc-5344dab8ebf29ff96dd9e0d1411e11b44e2ccccf.tar.gz
Org reader: parse `#+LANGUAGE` into `lang` metadata field
Fixes: #6845
Diffstat (limited to 'test/Tests/Readers/Org')
-rw-r--r--test/Tests/Readers/Org/Meta.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Meta.hs b/test/Tests/Readers/Org/Meta.hs
index 3290e718b..041016f64 100644
--- a/test/Tests/Readers/Org/Meta.hs
+++ b/test/Tests/Readers/Org/Meta.hs
@@ -112,6 +112,10 @@ tests =
"#+institute: ACME Inc." =?>
Pandoc (setMeta "institute" ("ACME Inc." :: Inlines) nullMeta) mempty
+ , "Document language" =:
+ "#+LANGUAGE: de-DE" =?>
+ Pandoc (setMeta "lang" (MetaString "de-DE") nullMeta) mempty
+
, testGroup "LaTeX"
[ "LATEX_HEADER" =:
"#+latex_header: \\usepackage{tikz}" =?>