Skip to content

Commit

Permalink
Added bodyless pipe table test case.
Browse files Browse the repository at this point in the history
See #2556.
  • Loading branch information
jgm committed Nov 25, 2015
1 parent e79fb6c commit 57350d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/pipe-tables.native
Original file line number Diff line number Diff line change
Expand Up @@ -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 "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"]]]
[]]
6 changes: 6 additions & 0 deletions tests/pipe-tables.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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|123|123|

Pipe table with no body:

| Header |
| ------ |

0 comments on commit 57350d9

Please sign in to comment.