aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-07 19:35:21 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-07 19:35:21 +0000
commit53ffd8254273dd2974c9c0ea6fd17d5490354599 (patch)
treee3fa6e0dc7c75d6b4b8eee580e260d45817b41df
parent0943d24e479e5b1e2424354d5db15d339bd927ec (diff)
downloadpandoc-53ffd8254273dd2974c9c0ea6fd17d5490354599.tar.gz
Added test case for multiline table wo column headers.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1865 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--tests/tables.native16
-rw-r--r--tests/tables.txt10
2 files changed, 25 insertions, 1 deletions
diff --git a/tests/tables.native b/tests/tables.native
index 14931c76c..11304795c 100644
--- a/tests/tables.native
+++ b/tests/tables.native
@@ -98,5 +98,19 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
[ [ Plain [Str "1"] ]
, [ Plain [Str "1"] ]
, [ Plain [Str "1"] ]
- , [ Plain [Str "1"] ] ] ] ]
+ , [ Plain [Str "1"] ] ] ]
+, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
+, Table [] [AlignCenter,AlignLeft,AlignRight,AlignDefault] [0.15,0.1375,0.1625,0.3375]
+ [ []
+ , []
+ , []
+ , [] ] [
+ [ [ Plain [Str "First"] ]
+ , [ Plain [Str "row"] ]
+ , [ Plain [Str "12",Str ".",Str "0"] ]
+ , [ 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 "."] ] ],
+ [ [ Plain [Str "Second"] ]
+ , [ Plain [Str "row"] ]
+ , [ Plain [Str "5",Str ".",Str "0"] ]
+ , [ 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 "."] ] ] ] ]
diff --git a/tests/tables.txt b/tests/tables.txt
index 6cf32726d..62d431597 100644
--- a/tests/tables.txt
+++ b/tests/tables.txt
@@ -63,3 +63,13 @@ Table without column headers:
1 1 1 1
------- ------ ---------- -------
+Multiline table without column headers:
+
+---------- --------- ----------- ---------------------------
+ First row 12.0 Example of a row that spans
+ multiple lines.
+
+ Second row 5.0 Here's another one. Note
+ the blank line between rows.
+---------- --------- ----------- ---------------------------
+