@@ -527,28 +527,42 @@ tests =
527 orderedListWith (1, Decimal, Period) [ para "Item1"
527 orderedListWith (1, Decimal, Period) [ para "Item1"
528 , para "Item2"
528 , para "Item2"
530− , "Nested list" =:
530+ , testGroup "Nested lists"
531− T.unlines
532+ T.unlines
532− [ " - Item1"
533+ [ " - Item1"
533− , " - Item2"
534+ , " - Item2"
534− , " - Item3"
535+ , " - Item3"
535− , " - Item4"
536+ , " - Item4"
536− , " 1. Nested"
537+ , " 1. Nested"
537− , " 2. Ordered"
538+ , " 2. Ordered"
538− , " 3. List"
539+ , " 3. List"
540− bulletList [ mconcat [ para "Item1"
541+ bulletList [ mconcat [ para "Item1"
541− , bulletList [ para "Item2"
542+ , bulletList [ para "Item2"
542− , para "Item3"
543+ , para "Item3"
545− , mconcat [ para "Item4"
546+ , mconcat [ para "Item4"
546− , orderedListWith (1, Decimal, Period) [ para "Nested"
547+ , orderedListWith (1, Decimal, Period) [ para "Nested"
547− , para "Ordered"
548+ , para "Ordered"
548− , para "List"
549+ , para "List"
553+ , "Incorrectly indented Text::Amuse nested list" =:
556+ , " - Not nested item"
558+ bulletList [ para "First item", para "Not nested item"]
559+ , "Text::Amuse includes only one space in list marker" =:
564+ bulletList [ para "First item" <> bulletList [ para "Nested item"]]
552 , "List continuation" =:
566 , "List continuation" =:
553 T.unlines
567 T.unlines