summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Rs/one_author.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 19:01:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-09-04 19:01:52 +0000
commit8602ef022ba97685524bab84712ad686cd05b20e (patch)
tree68f879dc053e8cd622fba425bf024d152f20a12f /regress/mdoc/Rs/one_author.in
parentf6865c5cc81f43ad947eb8f69efe22d17360f0d7 (diff)
downloadmandoc-8602ef022ba97685524bab84712ad686cd05b20e.tar.gz
Properly handle -mdoc %A in all outputs. This has two-author entires
separated by only "and" while two or more are with ", and" for the last author. Also remove relevant TODO and add regression tests.
Diffstat (limited to 'regress/mdoc/Rs/one_author.in')
-rw-r--r--regress/mdoc/Rs/one_author.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/mdoc/Rs/one_author.in b/regress/mdoc/Rs/one_author.in
new file mode 100644
index 00000000..98934ec0
--- /dev/null
+++ b/regress/mdoc/Rs/one_author.in
@@ -0,0 +1,15 @@
+.Dd May 1, 2009
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+blah blah
+.Pp
+.Rs
+.%A joe
+.%T title
+.Re
+.Pp
+and so on