summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Bd/bd-empty-offset.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:41:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-12 11:41:50 +0000
commit16173bda3531a2bb54b45b2e327c8b7e2cf37fd6 (patch)
treef56dca9a70f2620b119aa051dbc980a7576967bf /regress/mdoc/Bd/bd-empty-offset.in
parentdfe0c6ee455f4a355885a711c81c5ae06ac20160 (diff)
downloadmandoc-16173bda3531a2bb54b45b2e327c8b7e2cf37fd6.tar.gz
Removed stipulation that an empty `Bd -offset' will default to 6n. Not
sure where this came about. Added regression tests to convince myself that this is so. Also consolidated COMPATIBILITY notes regarding `Bd'. Added COMPATIBILITY note to the effect that old groff pukes on `Bd -compact -ragged' (regression test will fail on old groff).
Diffstat (limited to 'regress/mdoc/Bd/bd-empty-offset.in')
-rw-r--r--regress/mdoc/Bd/bd-empty-offset.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/regress/mdoc/Bd/bd-empty-offset.in b/regress/mdoc/Bd/bd-empty-offset.in
new file mode 100644
index 00000000..1bb6126c
--- /dev/null
+++ b/regress/mdoc/Bd/bd-empty-offset.in
@@ -0,0 +1,31 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+1
+.Bd -literal -offset
+a b
+c d
+.Ed
+2
+1
+.Bd -filled -offset
+a b
+c d
+.Ed
+2
+1
+.Bd -ragged -offset
+a b
+c d
+.Ed
+2
+1
+.Bd -unfilled -offset
+a b
+c d
+.Ed
+2