git.iko.soy/typeable/pandoc
on master help sign in
Lists test
commita82dedf1ff1b6fe345640843dad653386a8f9bc7 authorNikolay Yakimov <root@livid.pp.ru> dateSun 8 Mar 2015, 03:59 (12 years ago) parentae07d5e
2 files changed+21−4
tests/Tests/Writers/Docx.hs+4−4 tests/docx/lists_writer.native+17
tests/Tests/Writers/Docx.hs+4−4
@@ -83,10 +83,10 @@ tests = [ testGroup "inlines"
8383 , testCompare
8484 "i18n blocks (headers and blockquotes)"
8585 "docx/i18n_blocks.native"
86− -- some level problems, look into that
87− -- , testCompare
88− -- "lists"
89− -- "docx/lists.native"
86+ -- Continuation does not survive round-trip
87+ , testCompare
88+ "lists"
89+ "docx/lists_writer.native"
9090 , testCompare
9191 "definition lists"
9292 "docx/definition_list.native"
tests/docx/lists_writer.nativenew file+17
@@ -0,0 +1,17 @@
1+[Header 2 ("some-nested-lists",[],[]) [Str "Some",Space,Str "nested",Space,Str "lists"]
2+,OrderedList (1,Decimal,Period)
3+ [[Para [Str "one"]]
4+ ,[Para [Str "two"]
5+ ,OrderedList (1,LowerAlpha,DefaultDelim)
6+ [[Para [Str "a"]]
7+ ,[Para [Str "b"]]]]]
8+,BulletList
9+ [[Para [Str "one"]]
10+ ,[Para [Str "two"]
11+ ,BulletList
12+ [[Para [Str "three"]
13+ ,BulletList
14+ [[Para [Str "four"]]]]]]
15+ ,[Para [Str "Same",Space,Str "list"]]]
16+,BulletList
17+ [[Para [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]]