summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-24 20:29:44 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-24 20:29:44 -0800
commit57350d94689a818e0a439079448a3c567ea74aeb (patch)
treea2c839e945ac02403d5383d690b0a765d88527af /tests
parente79fb6c3ff7da61ebc92ce0b6c16eee05a9c95c9 (diff)
Added bodyless pipe table test case.
See #2556.
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 |
+| ------ |
+