summaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bl/empty-offset.in
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
commite9ed9b35dc4fd863125a597aff030d991806984f (patch)
treea7b1d31fe327e49f2e1efc63d76f3cf1b8149f3a /regress/mdoc/Bl/empty-offset.in
parentab3ccf15eb37629459a92cd73cea7a345c475754 (diff)
downloadmandoc-e9ed9b35dc4fd863125a597aff030d991806984f.tar.gz
mandoc-e9ed9b35dc4fd863125a597aff030d991806984f.tar.zst
mandoc-e9ed9b35dc4fd863125a597aff030d991806984f.zip
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/Bl/empty-offset.in')
-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..63ac458a
--- /dev/null
+++ b/regress/mdoc/Bl/empty-offset.in
@@ -0,0 +1,15 @@
+.Dd $Mdocdate: June 12 2010 $
+.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