aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pipe-tables.native6
-rw-r--r--tests/pipe-tables.txt6
2 files changed, 11 insertions, 1 deletions
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 |
+| ------ |
+