aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-01-18 14:50:28 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-01-18 14:55:07 +0300
commit5f57094a47c18d1849f7cd5e9306bf05d6187881 (patch)
tree84a9125b2e42bfaf9fa0aad88a9481f7854710e6 /test/Tests/Readers
parent9986ccb3330847963532311e00f137dfb4a004e1 (diff)
downloadpandoc-5f57094a47c18d1849f7cd5e9306bf05d6187881.tar.gz
Muse reader: refactor definition list parsing
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway.
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index de3c0e1ec..948df2ac2 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -955,17 +955,6 @@ tests =
definitionList [ ("Term1", [ para "This is a first definition\nAnd it has two lines;\nno, make that three."])
, ("Term2", [ para "This is a second definition"])
])
- -- Emacs Muse creates two separate lists when indentation of items is different.
- -- We follow Amusewiki and allow different indentation within one list.
- , "Changing indentation" =:
- T.unlines
- [ " First term :: Definition of first term"
- , "and its continuation."
- , " Second term :: Definition of second term."
- ] =?>
- definitionList [ ("First term", [ para "Definition of first term\nand its continuation." ])
- , ("Second term", [ para "Definition of second term." ])
- ]
, "Two blank lines separate definition lists" =:
T.unlines
[ " First :: list"