summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/An
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/An')
-rw-r--r--regress/mdoc/An/Makefile6
-rw-r--r--regress/mdoc/An/break.in49
-rw-r--r--regress/mdoc/An/break.out_ascii29
-rw-r--r--regress/mdoc/An/break.out_lint12
4 files changed, 96 insertions, 0 deletions
diff --git a/regress/mdoc/An/Makefile b/regress/mdoc/An/Makefile
new file mode 100644
index 00000000..b061bf76
--- /dev/null
+++ b/regress/mdoc/An/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2014/08/14 02:00:52 schwarze Exp $
+
+REGRESS_TARGETS = break
+LINT_TARGETS = break
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/An/break.in b/regress/mdoc/An/break.in
new file mode 100644
index 00000000..b783b337
--- /dev/null
+++ b/regress/mdoc/An/break.in
@@ -0,0 +1,49 @@
+.Dd February 5, 2015
+.Dt AN-BREAK 1
+.Os OpenBSD
+.Sh NAME
+.Nm An-break
+.Nd line breaking of the author macro
+.Sh DESCRIPTION
+inline is the default:
+.An Kristaps ,
+.An Ingo ,
+and
+.An Joerg .
+empty
+.An
+trailing
+.An .
+.Pp
+.An -split -nosplit bogus
+split mode:
+.An Kristaps
+.An Ingo
+.An Joerg
+.Pp
+empty
+.An
+trailing
+.An .
+.An -nosplit
+.Sh AUTHORS
+split mode is the default:
+.An Kristaps
+.An Ingo
+.An Joerg
+.Pp
+empty
+.An
+trailing
+.An .
+.An -nosplit -split bogus
+.Pp
+inline:
+.An Kristaps ,
+.An Ingo ,
+and
+.An Joerg .
+empty
+.An
+trailing
+.An .
diff --git a/regress/mdoc/An/break.out_ascii b/regress/mdoc/An/break.out_ascii
new file mode 100644
index 00000000..92cec343
--- /dev/null
+++ b/regress/mdoc/An/break.out_ascii
@@ -0,0 +1,29 @@
+AN-BREAK(1) General Commands Manual AN-BREAK(1)
+
+NNAAMMEE
+ AAnn--bbrreeaakk - line breaking of the author macro
+
+DDEESSCCRRIIPPTTIIOONN
+ inline is the default: Kristaps, Ingo, and Joerg. empty trailing .
+
+ split mode:
+ Kristaps
+ Ingo
+ Joerg
+
+ empty
+ trailing
+ .
+
+AAUUTTHHOORRSS
+ split mode is the default: Kristaps
+ Ingo
+ Joerg
+
+ empty
+ trailing
+ .
+
+ inline: Kristaps, Ingo, and Joerg. empty trailing .
+
+OpenBSD February 5, 2015 OpenBSD
diff --git a/regress/mdoc/An/break.out_lint b/regress/mdoc/An/break.out_lint
new file mode 100644
index 00000000..25622fd1
--- /dev/null
+++ b/regress/mdoc/An/break.out_lint
@@ -0,0 +1,12 @@
+mandoc: break.in:14:2: WARNING: skipping empty macro: An
+mandoc: break.in:16:2: WARNING: skipping empty macro: An
+mandoc: break.in:18:12: WARNING: skipping duplicate argument: An -nosplit
+mandoc: break.in:18:21: ERROR: skipping excess arguments: An ... bogus
+mandoc: break.in:25:2: WARNING: skipping empty macro: An
+mandoc: break.in:27:2: WARNING: skipping empty macro: An
+mandoc: break.in:36:2: WARNING: skipping empty macro: An
+mandoc: break.in:38:2: WARNING: skipping empty macro: An
+mandoc: break.in:39:14: WARNING: skipping duplicate argument: An -split
+mandoc: break.in:39:21: ERROR: skipping excess arguments: An ... bogus
+mandoc: break.in:47:2: WARNING: skipping empty macro: An
+mandoc: break.in:49:2: WARNING: skipping empty macro: An