diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-05-10 22:04:36 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-05-10 22:04:36 +0000 |
commit | 5660e6ba11ed828bab12e48a35a6daf917c1fcbc (patch) | |
tree | d40e5014c70d53e81cea1582bfbb0261ad07951b /tests/writer.native | |
parent | f9731108e82bac5fdfe527440013fb9a91a65dd1 (diff) |
Updated test suite with new tests for definition lists.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@597 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.native')
-rw-r--r-- | tests/writer.native | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/writer.native b/tests/writer.native index a35a32737..091a5898b 100644 --- a/tests/writer.native +++ b/tests/writer.native @@ -151,6 +151,51 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane [ [ Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"] ] , [ Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"] ] ] ] ] , HorizontalRule +, Header 1 [Str "Definition",Space,Str "Lists"] +, Para [Str "Tight",Space,Str "using",Space,Str "spaces:"] +, DefinitionList + [ ([Str "apple"], + [ Plain [Str "red",Space,Str "fruit"] ] + ), + ([Str "orange"], + [ Plain [Str "orange",Space,Str "fruit"] ] + ), + ([Str "banana"], + [ Plain [Str "yellow",Space,Str "fruit"] ] + ) ] +, Para [Str "Tight",Space,Str "using",Space,Str "tabs:"] +, DefinitionList + [ ([Str "apple"], + [ Plain [Str "red",Space,Str "fruit"] ] + ), + ([Str "orange"], + [ Plain [Str "orange",Space,Str "fruit"] ] + ), + ([Str "banana"], + [ Plain [Str "yellow",Space,Str "fruit"] ] + ) ] +, Para [Str "Loose:"] +, DefinitionList + [ ([Str "apple"], + [ Para [Str "red",Space,Str "fruit"] ] + ), + ([Str "orange"], + [ Para [Str "orange",Space,Str "fruit"] ] + ), + ([Str "banana"], + [ Para [Str "yellow",Space,Str "fruit"] ] + ) ] +, Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"] +, DefinitionList + [ ([Emph [Str "apple"]], + [ Para [Str "red",Space,Str "fruit"] + , Para [Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"] ] ), + ([Emph [Str "orange"]], + [ Para [Str "orange",Space,Str "fruit"] + , CodeBlock "{ orange code block }" + , BlockQuote + [ Para [Str "orange",Space,Str "block",Space,Str "quote"] ] + ] ) ] , Header 1 [Str "HTML",Space,Str "Blocks"] , Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"] , RawHtml "<div>" |