git.iko.soy/typeable/pandoc
on master help sign in
Added test case for multiline table wo column headers.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1865 788f1e2b-df1e-0410-8736-df70ead52e1b

commit53ffd8254273dd2974c9c0ea6fd17d5490354599 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 7 Mar 2010, 19:35 (17 years ago) parent0943d24
2 files changed+25−1
tests/tables.native+15−1 tests/tables.txt+10
tests/tables.native+15−1
@@ -98,5 +98,19 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
9898 [ [ Plain [Str "1"] ]
9999 , [ Plain [Str "1"] ]
100100 , [ Plain [Str "1"] ]
101− , [ Plain [Str "1"] ] ] ] ]
101+ , [ Plain [Str "1"] ] ] ]
102+, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
103+, Table [] [AlignCenter,AlignLeft,AlignRight,AlignDefault] [0.15,0.1375,0.1625,0.3375]
104+ [ []
105+ , []
106+ , []
107+ , [] ] [
108+ [ [ Plain [Str "First"] ]
109+ , [ Plain [Str "row"] ]
110+ , [ Plain [Str "12",Str ".",Str "0"] ]
111+ , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines",Str "."] ] ],
112+ [ [ Plain [Str "Second"] ]
113+ , [ Plain [Str "row"] ]
114+ , [ Plain [Str "5",Str ".",Str "0"] ]
115+ , [ Plain [Str "Here",Str "'",Str "s",Space,Str "another",Space,Str "one",Str ".",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows",Str "."] ] ] ] ]
102116
tests/tables.txt+10
@@ -63,3 +63,13 @@ Table without column headers:
6363 1 1 1 1
6464------- ------ ---------- -------
6565
66+Multiline table without column headers:
67+
68+---------- --------- ----------- ---------------------------
69+ First row 12.0 Example of a row that spans
70+ multiple lines.
71+
72+ Second row 5.0 Here's another one. Note
73+ the blank line between rows.
74+---------- --------- ----------- ---------------------------
75+