diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2019-02-18 15:09:29 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2019-02-18 15:21:32 +0300 |
commit | c4814ea965704ffb3bc7cf5e918a2fc342d401b3 (patch) | |
tree | 80c1b3f2326a1df10b96a5a07425d2f7bb3a67cb /test/Tests | |
parent | 2c7c8a6f407a6299f7f7345ca9203fae6fb4bcde (diff) | |
download | pandoc-c4814ea965704ffb3bc7cf5e918a2fc342d401b3.tar.gz |
Muse reader: add secondary note support
Diffstat (limited to 'test/Tests')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs index 8fbe6a955..e864cb46e 100644 --- a/test/Tests/Readers/Muse.hs +++ b/test/Tests/Readers/Muse.hs @@ -784,6 +784,23 @@ tests = para (text "Here is a footnote" <> note (para "Footnote contents") <> str ".") + , "Simple secondary footnote" =: + T.unlines [ "Here is a secondary note{1}." + , "" + , "{1} Secondary note contents" + ] =?> + para (text "Here is a secondary note" <> + note (para "Secondary note contents") <> + str ".") + , "Missing footnote" =: "Foo[1]" =?> para "Foo[1]" + , "Missing secondary note" =: "Foo{1}" =?> para "Foo{1}" + , "Wrong note type" =: + T.unlines [ "Here is a secondary note{1}" + , "" + , "Footnote contents[1]" + ] =?> + para "Here is a secondary note{1}" <> + para "Footnote contents[1]" , "Recursive footnote" =: T.unlines [ "Start recursion here[1]" , "" |