aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-21 17:32:12 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-21 17:33:27 +0300
commit6f507336918baa016eefce854f00fad1e1a78068 (patch)
treea147bfe3fec1df10f94eb76b1a2d3f18cd4e4fca /test
parentf12348cab5acc811d879ff36f249215bf040c6f3 (diff)
downloadpandoc-6f507336918baa016eefce854f00fad1e1a78068.tar.gz
Muse writer: don't align ordered list items
It leads to problems with round-trip test, because aligned line blocks can't be read back.
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Writers/Muse.hs12
-rw-r--r--test/writer.muse6
2 files changed, 9 insertions, 9 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index ad7e4f1c4..56fa22955 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -74,8 +74,8 @@ tests = [ testGroup "block elements"
, plain $ text "second"
, plain $ text "third"
]
- =?> unlines [ " I. first"
- , " II. second"
+ =?> unlines [ " I. first"
+ , " II. second"
, " III. third"
]
, "bullet list" =: bulletList [ plain $ text "first"
@@ -138,11 +138,11 @@ tests = [ testGroup "block elements"
orderedListWith (1, UpperRoman, DefaultDelim) [ para $ text "Third"
, para $ text "Fourth"
] =?>
- unlines [ " I. First"
+ unlines [ " I. First"
, " II. Second"
, ""
, ""
- , " I. Third"
+ , " I. Third"
, " II. Fourth"
]
, "ordered lists with equal styles" =:
@@ -169,7 +169,7 @@ tests = [ testGroup "block elements"
unlines [ " - First"
, " - Second"
, ""
- , " I. Third"
+ , " I. Third"
, " II. Fourth"
]
, "different style ordered lists" =:
@@ -179,7 +179,7 @@ tests = [ testGroup "block elements"
orderedListWith (1, Decimal, DefaultDelim) [ para $ text "Third"
, para $ text "Fourth"
] =?>
- unlines [ " I. First"
+ unlines [ " I. First"
, " II. Second"
, ""
, " 1. Third"
diff --git a/test/writer.muse b/test/writer.muse
index 5db3871a1..530fb3ba5 100644
--- a/test/writer.muse
+++ b/test/writer.muse
@@ -224,9 +224,9 @@ Same thing but with paragraphs:
with a continuation
iv. sublist with roman numerals, starting with 4
- v. more items
- A. a subsublist
- B. a subsublist
+ v. more items
+ A. a subsublist
+ B. a subsublist
Nesting: