summaryrefslogtreecommitdiffstats
path: root/regress/mdoc
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:38:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 12:38:01 +0000
commitff7b52fc598055387eeb90035e1d6418b43d3c27 (patch)
treef4e4aac93954ad8c23c1b825da4207d9a3e82cd7 /regress/mdoc
parentba4734a53e665e8062edb5784cf988d13c6ee165 (diff)
downloadmandoc-ff7b52fc598055387eeb90035e1d6418b43d3c27.tar.gz
Cached `Bl -offset' into mdoc_bl. Removed erroneous "-offset defaults
to 6n if no value is specified" and added regression tests for `Bl' testing against the empty -offset argument.
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/Bl/empty-offset.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/mdoc/Bl/empty-offset.in b/regress/mdoc/Bl/empty-offset.in
new file mode 100644
index 00000000..031fe615
--- /dev/null
+++ b/regress/mdoc/Bl/empty-offset.in
@@ -0,0 +1,15 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+.Bl -tag -width Ds -offset
+.It foo
+bar
+.El
+.Bl -tag -width Ds
+.It foo
+bar
+.El