diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2017-09-26 19:31:10 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2017-09-26 19:31:10 +0300 |
commit | 2cdb8fe2e65aa13f91c9decd4e6cad97e87cc402 (patch) | |
tree | 5ef3568feabaf2b0aee2f29fe7da859e48899ae2 /test/Tests/Readers | |
parent | 3fb3af75793686efa114352c3f0c33a4b4b71731 (diff) | |
download | pandoc-2cdb8fe2e65aa13f91c9decd4e6cad97e87cc402.tar.gz |
Muse reader: test metadata parsing
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 7 |
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 + ] ] |