Added bodyless pipe table test case.

See #2556.
This commit is contained in:
John MacFarlane 2015-11-24 20:29:44 -08:00
parent e79fb6c3ff
commit 57350d9468
2 changed files with 11 additions and 1 deletions

View file

@ -94,4 +94,8 @@
,[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "really",Space,Str "long",Space,Str "table",Space,Str "cell",Space,Str "that",Space,Str "will",Space,Str "probably",Space,Str "need",Space,Str "wrapping"]]] ,[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "really",Space,Str "long",Space,Str "table",Space,Str "cell",Space,Str "that",Space,Str "will",Space,Str "probably",Space,Str "need",Space,Str "wrapping"]]]
,[[Plain [Str "123"]] ,[[Plain [Str "123"]]
,[Plain [Str "123"]] ,[Plain [Str "123"]]
,[Plain [Str "123"]]]]] ,[Plain [Str "123"]]]]
,Para [Str "Pipe",Space,Str "table",Space,Str "with",Space,Str "no",Space,Str "body:"]
,Table [] [AlignDefault] [0.0]
[[Plain [Str "Header"]]]
[]]

View file

@ -66,3 +66,9 @@ Long pipe table with relative widths:
|---------|----------|---------------------------------------| |---------|----------|---------------------------------------|
|123|this is a table cell|and this is a really long table cell that will probably need wrapping| |123|this is a table cell|and this is a really long table cell that will probably need wrapping|
|123|123|123| |123|123|123|
Pipe table with no body:
| Header |
| ------ |