aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-04-13 22:18:47 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-04-13 22:18:47 +0000
commit24ee5f1f49ebb7e0cf54640a21518af084b7d06d (patch)
tree4154ad669fe048c5df5707eaf1e5ae242f239912 /tests
parent944740ce5c0458d5e28ffbb737605f02d255df57 (diff)
downloadpandoc-24ee5f1f49ebb7e0cf54640a21518af084b7d06d.tar.gz
Updated test suite to reflect new prettyprinted native
Table format. git-svn-id: https://pandoc.googlecode.com/svn/trunk@583 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r--tests/tables.native82
1 files changed, 77 insertions, 5 deletions
diff --git a/tests/tables.native b/tests/tables.native
index 7572dfdc2..44fb5dd6d 100644
--- a/tests/tables.native
+++ b/tests/tables.native
@@ -1,11 +1,83 @@
Pandoc (Meta [] [] "")
[ Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-, Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125] [[Plain [Str "Right"]],[Plain [Str "Left"]],[Plain [Str "Center"]],[Plain [Str "Default"]]] [[[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]]],[[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]]],[[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]]]]
+, Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125]
+ [ [ Plain [Str "Right"] ]
+ , [ Plain [Str "Left"] ]
+ , [ Plain [Str "Center"] ]
+ , [ Plain [Str "Default"] ] ] [
+ [ [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ] ],
+ [ [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ] ],
+ [ [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ] ] ]
, Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-, Table [] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125] [[Plain [Str "Right"]],[Plain [Str "Left"]],[Plain [Str "Center"]],[Plain [Str "Default"]]] [[[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]]],[[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]]],[[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]]]]
+, Table [] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125]
+ [ [ Plain [Str "Right"] ]
+ , [ Plain [Str "Left"] ]
+ , [ Plain [Str "Center"] ]
+ , [ Plain [Str "Default"] ] ] [
+ [ [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ] ],
+ [ [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ] ],
+ [ [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ] ] ]
, Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-, Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125] [[Plain [Str "Right"]],[Plain [Str "Left"]],[Plain [Str "Center"]],[Plain [Str "Default"]]] [[[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]],[Plain [Str "12"]]],[[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]],[Plain [Str "123"]]],[[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]],[Plain [Str "1"]]]]
+, Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax",Str "."] [AlignRight,AlignLeft,AlignCenter,AlignDefault] [0.15,8.75e-2,0.1625,0.125]
+ [ [ Plain [Str "Right"] ]
+ , [ Plain [Str "Left"] ]
+ , [ Plain [Str "Center"] ]
+ , [ Plain [Str "Default"] ] ] [
+ [ [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ]
+ , [ Plain [Str "12"] ] ],
+ [ [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ]
+ , [ Plain [Str "123"] ] ],
+ [ [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ]
+ , [ Plain [Str "1"] ] ] ]
, Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-, Table [Str "Here",Str "'",Str "s",Space,Str "the",Space,Str "caption",Str ".",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines",Str "."] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.15,0.1375,0.1625,0.3375] [[Plain [Str "Centered",Space,Str "Header"]],[Plain [Str "Left",Space,Str "Aligned"]],[Plain [Str "Right",Space,Str "Aligned"]],[Plain [Str "Default",Space,Str "aligned"]]] [[[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 "."]]]]
+, Table [Str "Here",Str "'",Str "s",Space,Str "the",Space,Str "caption",Str ".",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines",Str "."] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.15,0.1375,0.1625,0.3375]
+ [ [ Plain [Str "Centered",Space,Str "Header"] ]
+ , [ Plain [Str "Left",Space,Str "Aligned"] ]
+ , [ Plain [Str "Right",Space,Str "Aligned"] ]
+ , [ Plain [Str "Default",Space,Str "aligned"] ] ] [
+ [ [ 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 "."] ] ] ]
, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-, Table [] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.15,0.1375,0.1625,0.3375] [[Plain [Str "Centered",Space,Str "Header"]],[Plain [Str "Left",Space,Str "Aligned"]],[Plain [Str "Right",Space,Str "Aligned"]],[Plain [Str "Default",Space,Str "aligned"]]] [[[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 "."]]]] ]
+, Table [] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.15,0.1375,0.1625,0.3375]
+ [ [ Plain [Str "Centered",Space,Str "Header"] ]
+ , [ Plain [Str "Left",Space,Str "Aligned"] ]
+ , [ Plain [Str "Right",Space,Str "Aligned"] ]
+ , [ Plain [Str "Default",Space,Str "aligned"] ] ] [
+ [ [ 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 "."] ] ] ] ]