From 57350d94689a818e0a439079448a3c567ea74aeb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 24 Nov 2015 20:29:44 -0800 Subject: Added bodyless pipe table test case. See #2556. --- tests/pipe-tables.native | 6 +++++- tests/pipe-tables.txt | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pipe-tables.native b/tests/pipe-tables.native index f52175ff0..6cd37f6ff 100644 --- a/tests/pipe-tables.native +++ b/tests/pipe-tables.native @@ -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"]]] + []] diff --git a/tests/pipe-tables.txt b/tests/pipe-tables.txt index a5984b99b..e93f64af9 100644 --- a/tests/pipe-tables.txt +++ b/tests/pipe-tables.txt @@ -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 | +| ------ | + -- cgit v1.2.3