summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2017-09-26 19:31:10 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2017-09-26 19:31:10 +0300
commit2cdb8fe2e65aa13f91c9decd4e6cad97e87cc402 (patch)
tree5ef3568feabaf2b0aee2f29fe7da859e48899ae2 /test/Tests
parent3fb3af75793686efa114352c3f0c33a4b4b71731 (diff)
Muse reader: test metadata parsing
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Muse.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index baa4df7fd..3088f88b3 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -689,4 +689,11 @@ tests =
, para "Third"
])
]
+ , testGroup "Meta"
+ [ "Title" =:
+ "#title Document title" =?>
+ let titleInline = toList $ "Document title"
+ meta = setMeta "title" (MetaInlines titleInline) $ nullMeta
+ in Pandoc meta mempty
+ ]
]