summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/D1
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/D1')
-rw-r--r--regress/mdoc/D1/Makefile6
-rw-r--r--regress/mdoc/D1/spacing.in12
-rw-r--r--regress/mdoc/D1/spacing.out_ascii12
-rw-r--r--regress/mdoc/D1/spacing.out_lint1
4 files changed, 31 insertions, 0 deletions
diff --git a/regress/mdoc/D1/Makefile b/regress/mdoc/D1/Makefile
new file mode 100644
index 00000000..bed27d1b
--- /dev/null
+++ b/regress/mdoc/D1/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2015/02/06 02:04:35 schwarze Exp $
+
+REGRESS_TARGETS = spacing
+LINT_TARGETS = spacing
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/D1/spacing.in b/regress/mdoc/D1/spacing.in
new file mode 100644
index 00000000..3303dccc
--- /dev/null
+++ b/regress/mdoc/D1/spacing.in
@@ -0,0 +1,12 @@
+.Dd February 5, 2015
+.Dt D1-SPACING 1
+.Os OpenBSD
+.Sh NAME
+.Nm D1-spacing
+.Nd spacing in and around one-line displays
+.Sh DESCRIPTION
+preceding text
+.D1 spacing in and around one-line displays
+empty display:
+.D1
+following text
diff --git a/regress/mdoc/D1/spacing.out_ascii b/regress/mdoc/D1/spacing.out_ascii
new file mode 100644
index 00000000..becef1b8
--- /dev/null
+++ b/regress/mdoc/D1/spacing.out_ascii
@@ -0,0 +1,12 @@
+D1-SPACING(1) General Commands Manual D1-SPACING(1)
+
+NNAAMMEE
+ DD11--ssppaacciinngg - spacing in and around one-line displays
+
+DDEESSCCRRIIPPTTIIOONN
+ preceding text
+ spacing in and around one-line displays
+ empty display:
+ following text
+
+OpenBSD February 5, 2015 OpenBSD
diff --git a/regress/mdoc/D1/spacing.out_lint b/regress/mdoc/D1/spacing.out_lint
new file mode 100644
index 00000000..08177734
--- /dev/null
+++ b/regress/mdoc/D1/spacing.out_lint
@@ -0,0 +1 @@
+mandoc: spacing.in:11:2: WARNING: empty block: D1